File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/apps/server/communication Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { Meteor } from 'meteor/meteor' ;
22
3- import { settings } from '../../../settings /server' ;
3+ import { Settings } from '../../../models /server/raw ' ;
44import { hasPermission } from '../../../authorization/server' ;
55import { 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 } ) ,
You can’t perform that action at this time.
0 commit comments