From ca31341e041756c92fc127282ad62af1248fe85a Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 12 Feb 2024 13:43:03 -0600 Subject: [PATCH] Fix double await --- src/controllers/api/pleroma.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/pleroma.ts b/src/controllers/api/pleroma.ts index 40e0c2b5..69603237 100644 --- a/src/controllers/api/pleroma.ts +++ b/src/controllers/api/pleroma.ts @@ -82,7 +82,7 @@ const updateConfigController: AppController = async (c) => { await createAdminEvent({ kind: 30078, - content: await await new AdminSigner().nip04.encrypt(pubkey, JSON.stringify(configs)), + content: await new AdminSigner().nip04.encrypt(pubkey, JSON.stringify(configs)), tags: [['d', 'pub.ditto.pleroma.config']], }, c);