mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import {
|
|
setAccessibilityContentForAdmin,
|
|
setAccessibilityEnabledForAdmin,
|
|
} from '/server/lib/adminAccessibility';
|
|
|
|
Meteor.methods({
|
|
async setAdminAccessibilityEnabled(enabled) {
|
|
return setAccessibilityEnabledForAdmin(this.userId, enabled);
|
|
},
|
|
|
|
async setAdminAccessibilityContent(title, body) {
|
|
return setAccessibilityContentForAdmin(this.userId, title, body);
|
|
},
|
|
});
|