Formatowanie: prettier na testach apki i porzadki w api/app (zwijanie i zawijanie linii, koncowki linii) — wylacznie zmiany prezentacyjne, zero zmian logicznych (testy unit i e2e przechodza na tym drzewie)

This commit is contained in:
tisachi
2026-10-27 06:28:11 +01:00
parent ae546db19f
commit d36c24281b
21 changed files with 419 additions and 122 deletions

View File

@@ -457,8 +457,7 @@ export async function getGymPresenceTelemetry(
where: { userId_gymId: { userId: caller.userId, gymId } },
select: { roles: true },
});
if (!membership?.roles.includes('OWNER'))
throw forbidden('You do not have access to this gym');
if (!membership?.roles.includes('OWNER')) throw forbidden('You do not have access to this gym');
}
return getGymStats(prisma, gymId, range);
}