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: {
"Content-Type": "application/json",
Authorization:
"Basic " +
"Bearer " +
Buffer.from(
"service:password"
"password"
).toString("base64"),
},
body: JSON.stringify(data),