Skip to content

Commit f37c2f4

Browse files
[FIX] App Framework Enable hanging indefinitely (#24158)
1 parent c688917 commit f37c2f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/apps/server/communication/methods.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Meteor } from 'meteor/meteor';
22

3-
import { settings } from '../../../settings/server';
3+
import { Settings } from '../../../models/server/raw';
44
import { hasPermission } from '../../../authorization/server';
55
import { twoFactorRequired } from '../../../2fa/server/twoFactorRequired';
66

@@ -68,7 +68,7 @@ export class AppMethods {
6868
});
6969
}
7070

71-
settings.set('Apps_Framework_enabled', true);
71+
Settings.updateValueById('Apps_Framework_enabled', true);
7272

7373
Promise.await(waitToLoad(instance._orch));
7474
}),
@@ -86,7 +86,7 @@ export class AppMethods {
8686
});
8787
}
8888

89-
settings.set('Apps_Framework_enabled', false);
89+
Settings.updateValueById('Apps_Framework_enabled', false);
9090

9191
Promise.await(waitToUnload(instance._orch));
9292
}),

0 commit comments

Comments
 (0)