mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix: resolve issue with uploading templates
This commit is contained in:
@ -73,7 +73,7 @@ export const createTemplate = async ({
|
||||
}
|
||||
}
|
||||
|
||||
if (!team) {
|
||||
if (teamId && !team) {
|
||||
throw new AppError(AppErrorCode.NOT_FOUND);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user