This commit is contained in:
Jan Prochazka 2024-08-13 16:37:05 +02:00
parent 75465bf415
commit 2706297142

View File

@ -143,6 +143,7 @@ module.exports = {
async saveLicenseKey({ licenseKey }) { async saveLicenseKey({ licenseKey }) {
try { try {
await fs.writeFile(path.join(datadir(), 'license.key'), licenseKey); await fs.writeFile(path.join(datadir(), 'license.key'), licenseKey);
socket.emitChanged(`config-changed`);
} catch (err) { } catch (err) {
return null; return null;
} }