Skip to content

Commit

Permalink
fix: friends fix
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Oct 19, 2023
1 parent b4eade6 commit 21b5334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ internal class FriendsEngine(
private fun EmitFriendsLocationRequest.encodeToPayload(json: Json): Payload = buildPayload {
val initObject = buildJsonObject {
put("apiVersion", apiVersion.int)
put("authorization", this@encodeToPayload.token.string)
put("token", token.string)
}

data(json.encodeToString(initObject))
Expand Down

0 comments on commit 21b5334

Please sign in to comment.