From 038b26ab7eff7d075ce4cb88108327846d152f3c Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 2 Nov 2022 11:33:27 +0000 Subject: [PATCH] fix: refactor imgur bearer. --- src/web/worker/uploadToImgur.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/worker/uploadToImgur.ts b/src/web/worker/uploadToImgur.ts index d730f63..9ba3ca5 100644 --- a/src/web/worker/uploadToImgur.ts +++ b/src/web/worker/uploadToImgur.ts @@ -5,7 +5,7 @@ export async function uploadToImgur(dataURL: string): Promise { method: "post", url: "https://api.imgur.com/3/image", headers: { - Authorization: "Bearer 8e9666fb889318515a62208560d4e8393dac26d8", + Authorization: `Bearer ${process.env.IMGUR_BEARER}`, }, data: { type: "base64",