We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4a95bb + adab880 commit b149630Copy full SHA for b149630
lib/dispatchRequest.js
@@ -78,7 +78,7 @@ function DispatchRequest(url, action, payload, local_auth, remote_auth = null, c
78
} else if (local_auth && local_auth.type === 'jwt') {
79
options.headers = { Authorization: `Bearer ${local_auth.key}` };
80
} else if (local_auth && local_auth.type === 'apikey') {
81
- options.headers = { API_TOKEN: local_auth.key };
+ options.headers = { Authorization: `Token ${local_auth.key}` };
82
}
83
84
/*
0 commit comments