mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: change error message in updateZapSplitsController & deleteZapSplitsController
This commit is contained in:
parent
e4b2a1b5b5
commit
518f4afd1c
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ export const updateZapSplitsController: AppController = async (c) => {
|
|||
|
||||
const zap_split = await getZapSplits(store, Conf.pubkey);
|
||||
if (!zap_split) {
|
||||
return c.json({ error: 'Zap split not activated, visit `/api/v1/instance` to activate it.' }, 404);
|
||||
return c.json({ error: 'Zap split not activated, restart the server.' }, 404);
|
||||
}
|
||||
|
||||
const { data } = result;
|
||||
|
|
@ -196,7 +196,7 @@ export const deleteZapSplitsController: AppController = async (c) => {
|
|||
|
||||
const zap_split = await getZapSplits(store, Conf.pubkey);
|
||||
if (!zap_split) {
|
||||
return c.json({ error: 'Zap split not activated, visit `/api/v1/instance` to activate it.' }, 404);
|
||||
return c.json({ error: 'Zap split not activated, restart the server.' }, 404);
|
||||
}
|
||||
|
||||
const { data } = result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue