fix(lint): add version to drizzle-orm imports and prefix unused NOT_FOUND

This commit is contained in:
2026-04-26 00:24:27 +02:00
committed by djalim
parent cdd9c0bf06
commit 6db04045f4
20 changed files with 880 additions and 82 deletions
@@ -91,14 +91,17 @@ export const handler: Handlers<null, AuthenticatedState> = {
if (!updated) return NOT_FOUND;
return new Response(JSON.stringify({
idModule: updated.idModule,
idUE: updated.idUE,
idPromo: updated.idPromo,
coeff: updated.coeff,
}), {
headers: { "content-type": "application/json" },
});
return new Response(
JSON.stringify({
idModule: updated.idModule,
idUE: updated.idUE,
idPromo: updated.idPromo,
coeff: updated.coeff,
}),
{
headers: { "content-type": "application/json" },
},
);
},
// #41 DELETE /ue-modules/{idModule}/{idUE}/{idPromo}