diff --git a/messageHandlers/hub_settings.js b/messageHandlers/hub_settings.js index 56ee8fc..2e81b28 100644 --- a/messageHandlers/hub_settings.js +++ b/messageHandlers/hub_settings.js @@ -41,7 +41,7 @@ const opts = { // Map of option number to step number 2: {step: 22, exec: () => { return 'Please provide the new long description. Say `cancel` to exit.'; }}, - 3: {step: 23, exec: async (hubId) => { + 3: {step: 1, exec: async (hubId) => { const [hub] = await pool.query('SELECT allowGiftPurchase FROM hubs WHERE id = ?', [hubId]); if (!hub) return 'Error fetching hub data.'; const newValue = hub.allowGiftPurchase ? 0 : 1;