fix: resolve issue with uploading templates

This commit is contained in:
Mythie
2025-05-03 09:23:17 +10:00
parent bf1c1ff9dc
commit ab323f149f

View File

@ -73,7 +73,7 @@ export const createTemplate = async ({
}
}
if (!team) {
if (teamId && !team) {
throw new AppError(AppErrorCode.NOT_FOUND);
}