mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
fix: use Authorization header
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user