mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-13 18:44:22 +01:00
refactor: rename zap_splits_mastodon to zapSplitEntity
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user