Skip to content

Commit f96897f

Browse files
committed
fix(chat): add missing success field to chat.getThreadsList response schema
1 parent a70323a commit f96897f

File tree

1 file changed

+5
-1
lines changed
  • apps/meteor/app/api/server/v1

1 file changed

+5
-1
lines changed

apps/meteor/app/api/server/v1/chat.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,12 @@ const isChatGetThreadsListResponse = ajv.compile<{
298298
total: {
299299
type: 'number',
300300
},
301+
success: {
302+
type: 'boolean',
303+
enum: [true],
304+
}
301305
},
302-
required: ['threads', 'count', 'offset', 'total'],
306+
required: ['threads', 'count', 'offset', 'total', 'success'],
303307
additionalProperties: false,
304308
});
305309

0 commit comments

Comments
 (0)