💡 Add comment about environ

This commit is contained in:
ajnart
2023-08-21 18:01:58 +02:00
parent b2cbb1a388
commit a98630e2c4

View File

@@ -12,6 +12,7 @@ export const notebookRouter = createTRPCRouter({
update: publicProcedure
.input(z.object({ widgetId: z.string(), content: z.string(), configName: z.string() }))
.mutation(async ({ input }) => {
//TODO: #1305 Remove use of DISABLE_EDIT_MODE for auth update
if (!process.env.DISABLE_EDIT_MODE) {
throw new TRPCError({
code: 'METHOD_NOT_SUPPORTED',