diff --git a/src/backend/src/filesystem/FSNodeContext.js b/src/backend/src/filesystem/FSNodeContext.js index 709714fe2..c8436e065 100644 --- a/src/backend/src/filesystem/FSNodeContext.js +++ b/src/backend/src/filesystem/FSNodeContext.js @@ -627,7 +627,7 @@ module.exports = class FSNodeContext { if ( key === 'mysql-id' ) { await this.fetchEntry(); - return this.mysql_id; + return this.mysql_id ?? this.entry.id; } if ( key === 'owner' ) {