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
commit 59dfdd6192
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}