summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/example/alcagotchi/AlcoGotchi.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/com/example/alcagotchi/AlcoGotchi.kt b/app/src/main/java/com/example/alcagotchi/AlcoGotchi.kt
index e8c0c61..42536f5 100644
--- a/app/src/main/java/com/example/alcagotchi/AlcoGotchi.kt
+++ b/app/src/main/java/com/example/alcagotchi/AlcoGotchi.kt
@@ -76,7 +76,6 @@ class AlcoGotchi private constructor() {
.post(body.toString().toRequestBody(jsonMediaType))
.build()
- client.newCall(request).enqueue(basicCallback)
return withContext(Dispatchers.IO) {
handleStateResponse(client.newCall(request).execute())
}
@@ -103,7 +102,6 @@ class AlcoGotchi private constructor() {
.post(body.toString().toRequestBody(jsonMediaType))
.build()
- client.newCall(request).enqueue(basicCallback)
return withContext(Dispatchers.IO) {
handleStateResponse(client.newCall(request).execute())
}
@@ -113,7 +111,6 @@ class AlcoGotchi private constructor() {
.url(buildUrl("mine"))
.build()
- client.newCall(request).enqueue(basicCallback)
return withContext(Dispatchers.IO) {
handleStateResponse(client.newCall(request).execute())
}