Skip to content

Commit

Permalink
fix: shortcut issue
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed Jan 9, 2025
1 parent 740fdb5 commit 6d196d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/src/filesystem/FilesystemService.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class FilesystemService extends BaseService {

const { _path, uuidv4 } = this.modules;
const svc_fsEntry = this.services.get('fsEntryService');
const resourceService = this.services.get('resourceService');

const ts = Math.round(Date.now() / 1000);
const uid = uuidv4();
Expand Down
3 changes: 3 additions & 0 deletions src/backend/src/services/OperationTraceService.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ class BaseOperation extends AdvancedBase {
async run (values) {
this.values = values;

values.user = values.user ??
(values.actor ? values.actor.type.user : undefined);

// getting context with a new operation frame
let x, frame; {
x = Context.get();
Expand Down

0 comments on commit 6d196d5

Please sign in to comment.