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:
L-Sun
2025-06-19 16:22:47 +08:00
committed by GitHub
parent bd04930560
commit 2edc8e43e2

View File

@@ -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."
}
}
}