mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix double await
This commit is contained in:
parent
3de63834f2
commit
ca31341e04
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ const updateConfigController: AppController = async (c) => {
|
||||||
|
|
||||||
await createAdminEvent({
|
await createAdminEvent({
|
||||||
kind: 30078,
|
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']],
|
tags: [['d', 'pub.ditto.pleroma.config']],
|
||||||
}, c);
|
}, c);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue