Add /videos/:id?with=next,previous route

This commit is contained in:
Zoe Roux
2025-07-19 15:27:02 +02:00
parent 8c8a974054
commit 5379536db2
3 changed files with 263 additions and 6 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ export const jsonbObjectAgg = <T>(
>`jsonb_object_agg(${sql.join([key, value], sql.raw(","))})`;
};
export const jsonbAgg = <T>(val: SQL<T>) => {
export const jsonbAgg = <T>(val: SQL<T> | SQLWrapper) => {
return sql<T[]>`jsonb_agg(${val})`;
};