feat: add the access attribute

This commit is contained in:
Mohamed Marrouchi
2025-01-16 06:46:41 +01:00
parent 0b4a1085ec
commit 505cd247a1
13 changed files with 66 additions and 8 deletions

View File

@@ -626,6 +626,7 @@ export default abstract class BaseWebChannelHandler<
size: Buffer.byteLength(data.file),
type: data.type,
context: 'message_attachment',
access: 'private',
createdByRef: 'Subscriber',
createdBy: req.session?.web?.profile?.id,
});
@@ -692,6 +693,7 @@ export default abstract class BaseWebChannelHandler<
size: file.size,
type: file.mimetype,
context: 'message_attachment',
access: 'private',
createdByRef: 'Subscriber',
createdBy: req.session.web.profile?.id,
});