From ad0958c8a1bf8020653821cee5f3bb2d3d47ada9 Mon Sep 17 00:00:00 2001 From: Kai Date: Thu, 1 Feb 2024 13:40:44 -1000 Subject: [PATCH] Use Bearer auth instead of Basic Auto-archiver API is deprecating basic auth and standardizing on Bearer authentication for all routes. --- functions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/index.js b/functions/index.js index e22ef44..5ad045d 100644 --- a/functions/index.js +++ b/functions/index.js @@ -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),