mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: rename zap_splits_mastodon to zapSplitEntity
This commit is contained in:
parent
6277b8ab0f
commit
25bbeceb8d
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ export const getZapSplitsController: AppController = async (c) => {
|
|||
|
||||
const pubkeys = Object.keys(zap_split);
|
||||
|
||||
const zap_splits_mastodon = await Promise.all(pubkeys.map(async (pubkey) => {
|
||||
const zapSplitEntity = await Promise.all(pubkeys.map(async (pubkey) => {
|
||||
const author = await getAuthor(pubkey);
|
||||
|
||||
const account = author ? await renderAccount(author) : await accountFromPubkey(pubkey);
|
||||
|
|
@ -249,5 +249,5 @@ export const getZapSplitsController: AppController = async (c) => {
|
|||
};
|
||||
}));
|
||||
|
||||
return c.json(zap_splits_mastodon, 200);
|
||||
return c.json(zapSplitEntity, 200);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue