mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore(server): merge duplicate queries (#10857)
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
getCopilotHistoryIdsQuery,
|
||||
getCopilotSessionsQuery,
|
||||
type GraphQLQuery,
|
||||
listContextDocsAndFilesQuery,
|
||||
listContextObjectQuery,
|
||||
listContextQuery,
|
||||
matchContextQuery,
|
||||
type QueryOptions,
|
||||
@@ -295,7 +295,7 @@ export class CopilotClient {
|
||||
contextId: string
|
||||
) {
|
||||
const res = await this.gql({
|
||||
query: listContextDocsAndFilesQuery,
|
||||
query: listContextObjectQuery,
|
||||
variables: {
|
||||
workspaceId,
|
||||
sessionId,
|
||||
|
||||
Reference in New Issue
Block a user