From 6a708a7df098fd731a52090c1655f7f3e2dcda3f Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 3 May 2022 18:48:40 +0530 Subject: [PATCH] fix inability to set instance name --- lib/decrees.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decrees.js b/lib/decrees.js index 61f5130df..86664826f 100644 --- a/lib/decrees.js +++ b/lib/decrees.js @@ -200,7 +200,7 @@ commands.SET_INSTANCE_PURPOSE = makeGenericSetter('instancePurpose', args_isStri commands.SET_INSTANCE_JURISDICTION = makeGenericSetter('instanceJurisdiction', args_isString); // CryptPad_AsyncStore.rpc.send('ADMIN', [ 'ADMIN_DECREE', ['SET_INSTANCE_NAME', ['My Personal CryptPad']]], console.log) -commands.SET_INSTANCE_NAME = makeGenericSetter('instanceDescription', args_isString); +commands.SET_INSTANCE_NAME = makeGenericSetter('instanceName', args_isString); // CryptPad_AsyncStore.rpc.send('ADMIN', [ 'ADMIN_DECREE', ['SET_INSTANCE_DESCRIPTION', ['A personal instance, hosted for me and nobody else']]], console.log) commands.SET_INSTANCE_DESCRIPTION = makeGenericSetter('instanceDescription', args_isString);