Fix & test GET /videos

This commit is contained in:
Zoe Roux
2025-05-03 14:37:05 +02:00
parent 45e769828b
commit e26bc931f5
8 changed files with 232 additions and 30 deletions
+3 -1
View File
@@ -144,5 +144,7 @@ export const jsonbBuildObject = <T>(select: JsonFields) => {
};
export const isUniqueConstraint = (e: unknown): boolean => {
return typeof e === "object" && e != null && "code" in e && e.code === "23505";
return (
typeof e === "object" && e != null && "code" in e && e.code === "23505"
);
};