Skip to content

Commit

Permalink
fix(#76-support-auth-header): change name header auth
Browse files Browse the repository at this point in the history
  • Loading branch information
y9Kap committed Oct 22, 2023
1 parent 22ac94b commit bd98784
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public suspend inline fun <T, R : MeetacyRequestWithToken<T>> post(
contentType = ContentType.Application.Json
)
)
header("Token", request.token)
header("Authorization", request.token)
header("Api-Version", request.apiVersion.toString())
}.body<String>()
}
Expand Down

0 comments on commit bd98784

Please sign in to comment.