mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-20 05:44:24 +01:00
Fix double await
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user