Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 41641da7 authored by Yannick Li's avatar Yannick Li
Browse files

Close should not delete the database

parent a9d1ddb1
No related branches found
No related tags found
3 merge requests!6Resolve "Update to c-crdtlib v1.0.0",!5Draft: Resolve "Add @JsName to methods",!2Draft: Resolve "Clean CService code"
......@@ -66,13 +66,8 @@ class CService {
}
}
suspend fun close(clientUId: ClientUId) {
val client = HttpClient()
client.post<String>{
url("http://127.0.0.1:4000/api/delete-app")
contentType(ContentType.Application.Json)
body = """{"appName":"myapp"}"""
}
suspend fun close(dbName: String): Boolean{
return true
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment