Merge pull request #761 from DerKorb/patch-1

fix compose.create not returning result
This commit is contained in:
Mauricio Siu
2024-11-26 22:21:58 -06:00
committed by GitHub

View File

@@ -79,6 +79,8 @@ export const composeRouter = createTRPCRouter({
if (ctx.user.rol === "user") {
await addNewService(ctx.user.authId, newService.composeId);
}
return newService;
} catch (error) {
throw error;
}