mirror of
https://github.com/documenso/documenso.git
synced 2026-07-14 14:57:12 +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