From 989ec71e2e9226fe8d038c3b8b3467e608c06759 Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 17 Oct 2024 12:21:14 +0200 Subject: [PATCH] Fix data type in pagination schema Updated the `data` property in the pagination schema from a single object to an array of objects to accurately represent paginated data. This change ensures that the schema aligns with the actual data structure used in the application. --- apps/backend/src/app/db/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/app/db/schema.ts b/apps/backend/src/app/db/schema.ts index cc575bd..411a00f 100644 --- a/apps/backend/src/app/db/schema.ts +++ b/apps/backend/src/app/db/schema.ts @@ -192,5 +192,5 @@ export interface IWithCount { count: number; limit: number; currentOffset: number; - data: T + data: T[] } \ No newline at end of file