mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
fix(android): graphql service type error (#12858)
#### PR Dependency Tree * **PR #12858** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved consistency in how session data is handled when starting a Copilot session. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -44,7 +44,7 @@ class GraphQLService @Inject constructor() {
|
||||
) = mutation(
|
||||
CreateCopilotSessionMutation(
|
||||
CreateChatSessionInput(
|
||||
docId = docId,
|
||||
docId = Optional.present(docId),
|
||||
workspaceId = workspaceId,
|
||||
promptName = prompt.value
|
||||
)
|
||||
@@ -132,4 +132,4 @@ class GraphQLService @Inject constructor() {
|
||||
companion object {
|
||||
private const val ERROR_NULL_SESSION_ID = "null session id."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user