mirror of
https://github.com/documenso/documenso.git
synced 2026-07-24 08:54:20 +10:00
fix: improve embed error messages (#2752)
This commit is contained in:
@@ -46,7 +46,8 @@ export const createEmbeddingPresignTokenRoute = procedure
|
||||
|
||||
if (!organisationClaim.flags.embedAuthoring) {
|
||||
throw new AppError(AppErrorCode.UNAUTHORIZED, {
|
||||
message: 'You do not have permission to create embedding presign tokens',
|
||||
message:
|
||||
'Embedded Authoring is not included in your current plan. Please contact support.',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user