Browse Source

fix: use anonymous for shared view entries

nc-feat/attachment-clean-up
mertmit 4 months ago
parent
commit
d785297fdf
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -9377,7 +9377,7 @@ class BaseModelSqlv2 {
file_url:
sanitizedAttachment.url ?? sanitizedAttachment.path,
file_size: sanitizedAttachment.size,
fk_user_id: cookie?.user?.id,
fk_user_id: cookie?.user?.id ?? 'anonymous',
fk_model_id: this.model.id,
fk_column_id: column.id,
},

Loading…
Cancel
Save