mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-17 20:34:24 +01:00
refactor(instance.ts): use new zap_split data structure in ditto hard coded pubkey
This commit is contained in:
@@ -25,7 +25,7 @@ const instanceV1Controller: AppController = async (c) => {
|
||||
['p', dittoPubkey, '5', dittoMsg],
|
||||
],
|
||||
}, c);
|
||||
zap_split = { [dittoPubkey]: ['5', dittoMsg] };
|
||||
zap_split = { [dittoPubkey]: { amount: 5, message: dittoMsg } };
|
||||
}
|
||||
|
||||
/** Protocol to use for WebSocket URLs, depending on the protocol of the `LOCAL_DOMAIN`. */
|
||||
|
||||
Reference in New Issue
Block a user