From 518f4afd1ca7e37b0039345ea62ea59ef78c8584 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Wed, 24 Jul 2024 10:56:12 -0300 Subject: [PATCH] refactor: change error message in updateZapSplitsController & deleteZapSplitsController --- src/controllers/api/ditto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/api/ditto.ts b/src/controllers/api/ditto.ts index a22dd1e5..f90579dd 100644 --- a/src/controllers/api/ditto.ts +++ b/src/controllers/api/ditto.ts @@ -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;