mirror of
https://github.com/bellingcat/auto-archiver-setup-tool.git
synced 2026-06-08 03:28:37 +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: {
|
||||
"Content-Type": "application/json",
|
||||
Authorization:
|
||||
"Basic " +
|
||||
"Bearer " +
|
||||
Buffer.from(
|
||||
"service:password"
|
||||
"password"
|
||||
).toString("base64"),
|
||||
},
|
||||
body: JSON.stringify(data),
|
||||
|
||||
Reference in New Issue
Block a user