Commit 7e172991 authored by Paul Bird's avatar Paul Bird

Tidy up unused code

parent 23abecbe
......@@ -115,8 +115,6 @@ class Authenticate(context: Context) {
companion object {
val JSON = MediaType.parse("application/json; charset=utf-8")
val FORM_ENCODED = MediaType.parse("application/x-www-form-urlencoded; charset=utf-8")
}
}
\ No newline at end of file
......@@ -21,12 +21,11 @@ import okhttp3.Response
*/
class OperateAPI1(context: Context) {
private val baseAPI = "https://api.occupie.com/api/1.0/"
private val sharedPrefs: SharedPrefs
private val accessToken: String
private val JSON = MediaType.parse("application/json; charset=utf-8")
private val FORM_ENCODED = MediaType.parse("application/x-www-form-urlencoded; charset=utf-8")
init {
sharedPrefs = SharedPrefs(context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment