Skip to content

Commit 4798ccd

Browse files
committed
Change get to post in watch
1 parent 77b8641 commit 4798ccd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/example/moontech/services/web/RoomApiServiceImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RoomApiServiceImpl(private val httpClient: HttpClient): RoomApiService {
3131

3232
override suspend fun watchRoom(request: WatchRequest, accessToken: String?): Result<WatchedRoom> {
3333
if (accessToken == null) {
34-
return httpClient.getResult("$endpoint/watch") {
34+
return httpClient.postResult("$endpoint/watch") {
3535
setBody(request)
3636
}
3737
}

0 commit comments

Comments
 (0)