import { request } from '../utils/apiUtils' ; import { CommunOptions } from '@commun/core' ; export const SettingsService = { async getSettings ( ) { return request ( 'GET' , '/admin/settings' ) ; } , async setSettings ( environment , settings ) { return request ( 'POST' , `/admin/settings/${ environment }` , settings ) ; } , } ;