diff --git a/packages/lib/utils/document-audit-logs.ts b/packages/lib/utils/document-audit-logs.ts index b3687a8aa..3f1358f0e 100644 --- a/packages/lib/utils/document-audit-logs.ts +++ b/packages/lib/utils/document-audit-logs.ts @@ -291,8 +291,8 @@ export const formatDocumentAuditLogAction = ( identified: msg`${prefix} deleted the document`, })) .with({ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_RESTORED }, () => ({ - anonymous: 'Document restored', - identified: 'restored the document', + anonymous: msg`Document restored`, + identified: msg`${prefix} restored the document`, })) .with({ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_FIELD_INSERTED }, () => ({ anonymous: msg`Field signed`,