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:
Kai
2024-02-01 13:40:44 -10:00
committed by GitHub
parent 515d685443
commit ad0958c8a1

View File

@@ -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),