Fix some logic in the settings menu
This commit is contained in:
parent
c7399a3cad
commit
9ce7cb5f70
|
@ -56,7 +56,7 @@ const opts = { // Map of option number to step number
|
||||||
await pool.query('UPDATE hubs SET secretKey = ? WHERE id = ?', [newKey, hubId]);
|
await pool.query('UPDATE hubs SET secretKey = ? WHERE id = ?', [newKey, hubId]);
|
||||||
return `New secret key generated: ||${newKey}||\n\nType another option number, or \`cancel\` to exit.`;
|
return `New secret key generated: ||${newKey}||\n\nType another option number, or \`cancel\` to exit.`;
|
||||||
}},
|
}},
|
||||||
6: {step: 26, exec: () => {
|
6: {step: 1, exec: () => {
|
||||||
return 'Parcel Auto-Import setup is not yet implemented. Type another option number, or `cancel` to exit.';
|
return 'Parcel Auto-Import setup is not yet implemented. Type another option number, or `cancel` to exit.';
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue