mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 01:39:31 +02:00
fix: use Authorization header
This commit is contained in:
parent
56a0e830bd
commit
c0cf7bbda2
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function post(obj, bearerToken) {
|
|||
'Content-Type': 'application/json'
|
||||
};
|
||||
if (bearerToken) {
|
||||
h['Authentication'] = `Bearer ${bearerToken}`;
|
||||
h['Authorization'] = `Bearer ${bearerToken}`;
|
||||
}
|
||||
return {
|
||||
method: 'POST',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue