We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77b8641 commit 4798ccdCopy full SHA for 4798ccd
1 file changed
app/src/main/java/com/example/moontech/services/web/RoomApiServiceImpl.kt
@@ -31,7 +31,7 @@ class RoomApiServiceImpl(private val httpClient: HttpClient): RoomApiService {
31
32
override suspend fun watchRoom(request: WatchRequest, accessToken: String?): Result<WatchedRoom> {
33
if (accessToken == null) {
34
- return httpClient.getResult("$endpoint/watch") {
+ return httpClient.postResult("$endpoint/watch") {
35
setBody(request)
36
}
37
0 commit comments