mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
16 lines
359 B
JavaScript
16 lines
359 B
JavaScript
import { AbstractFetchRemote } from 'Remote/AbstractFetch';
|
|
|
|
class RemoteAdminFetch extends AbstractFetchRemote {
|
|
|
|
/**
|
|
* @param {string} key
|
|
* @param {?scalar} value
|
|
* @param {?Function} fCallback
|
|
*/
|
|
saveSetting(key, value, fCallback) {
|
|
this.request('AdminSettingsUpdate', fCallback, {[key]: value});
|
|
}
|
|
|
|
}
|
|
|
|
export default new RemoteAdminFetch();
|