patch messages in thread (#12191)
closes https://github.com/twentyhq/twenty/issues/12190
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';
|
||||
import { RecordGqlOperationSignatureFactory } from '@/object-record/graphql/types/RecordGqlOperationSignatureFactory';
|
||||
import { QUERY_MAX_RECORDS } from 'twenty-shared/constants';
|
||||
|
||||
export const fetchAllThreadMessagesOperationSignatureFactory: RecordGqlOperationSignatureFactory =
|
||||
({ messageThreadId }: { messageThreadId: string }) => ({
|
||||
@ -15,7 +16,7 @@ export const fetchAllThreadMessagesOperationSignatureFactory: RecordGqlOperation
|
||||
receivedAt: 'AscNullsLast',
|
||||
},
|
||||
],
|
||||
limit: 10,
|
||||
limit: QUERY_MAX_RECORDS,
|
||||
},
|
||||
fields: {
|
||||
id: true,
|
||||
|
||||
Reference in New Issue
Block a user