We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ae0a32 commit 31a9d02Copy full SHA for 31a9d02
1 file changed
packages/server/api/src/app/flow-template/cloud-template.controller.ts
@@ -51,6 +51,7 @@ export const cloudTemplateController: FastifyPluginAsyncTypebox = async (
51
async (request) => {
52
const user = getVerifiedUser(request, publicKey);
53
if (!user) {
54
+ logger.info('User is not authenticated, returning sample templates');
55
return flowTemplateService.getFlowTemplates({
56
search: request.query.search,
57
tags: request.query.tags,
@@ -66,6 +67,7 @@ export const cloudTemplateController: FastifyPluginAsyncTypebox = async (
66
67
});
68
}
69
70
+ logger.info('User is authenticated, returning all templates');
71
72
73
0 commit comments