summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-11-17 09:33:24 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-11-17 09:33:33 +0000
commitc9a6cb0caff6bec4c8eca881c34e40a9b454b60f (patch)
treecd084d3207bd53501619af8f110495b60f723484
parent58594e9e59cdc4bbafae0cdecce6f22b612c5ae2 (diff)
fix shit
-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())
}