Skip to content

Commit 0c269e0

Browse files
committed
feat: add requestedUserId in draft metadata dto
1 parent 15b0dc6 commit 0c269e0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Shared/Services/app.types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ export interface DraftMetadataDTO {
182182
dataEncrypted: boolean
183183
isAppAdmin: boolean
184184
userApprovalMetadata: UserApprovalMetadataType
185+
/**
186+
* User id of the user who has requested the data
187+
*
188+
* This would be the id of the user whose token is sent in the cookie
189+
*/
190+
requestedUserId: number
185191
}
186192

187193
export enum CMSecretExternalType {

0 commit comments

Comments
 (0)