Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit 3552a56

Browse files
duncte123Mechazawa
authored andcommitted
Send headers as headers instead of json payload (#120)
1 parent eabcd7a commit 3552a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oauth/OAuth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default class OAuth {
103103

104104
const url = `${this.host}/oauth/logout`;
105105

106-
await axios.post(url, {
106+
await axios.post(url, {}, {
107107
headers: {
108108
Accept: 'application/json',
109109
Authorization: this.token.toString(),

0 commit comments

Comments
 (0)