mirror of
https://github.com/bellingcat/auto-archiver-setup-tool.git
synced 2026-06-12 13:38:36 +03:00
Use Bearer auth instead of Basic
Auto-archiver API is deprecating basic auth and standardizing on Bearer authentication for all routes.
This commit is contained in:
@@ -62,9 +62,9 @@ exports.processSheetScheduler = onSchedule(
|
|||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Authorization:
|
Authorization:
|
||||||
"Basic " +
|
"Bearer " +
|
||||||
Buffer.from(
|
Buffer.from(
|
||||||
"service:password"
|
"password"
|
||||||
).toString("base64"),
|
).toString("base64"),
|
||||||
},
|
},
|
||||||
body: JSON.stringify(data),
|
body: JSON.stringify(data),
|
||||||
|
|||||||
Reference in New Issue
Block a user