Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
working on the new DB
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed May 6, 2020
1 parent 5070eef commit 2bec053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/andromeda/araserver/util/DeleteDoc.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DeleteDoc {
i.startsWith("id=") -> id = i.replace("id=", "")
i.startsWith("user=") -> key = i.replace("user=", "")
}
delDoc(CosmosClients.client, key!!, id!!)
DatabaseClient().delete(key!!, id!!)
return ""
}
fun delDoc(client: DocumentClient, key: String, id:String): String {
Expand Down

0 comments on commit 2bec053

Please sign in to comment.