This commit is contained in:
sim 2023-03-01 01:08:02 +01:00
parent 302a432da0
commit 6ce18dfc03
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ object Distributor {
private fun getEndpoint(context: Context, connectorToken: String): String { private fun getEndpoint(context: Context, connectorToken: String): String {
val db = getDb(context) val db = getDb(context)
val appToken = db.getAppToken(connectorToken) val appToken = db.getAppToken(connectorToken)
return "${getAccount(context)?.url}${mApiEndpoint}/push/$appToken" return "${getAccount(context)?.url}$mApiEndpoint/push/$appToken"
} }
fun checkToken(context: Context, connectorToken: String, app: String): String { fun checkToken(context: Context, connectorToken: String, app: String): String {