mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-23 06:38:40 +02:00
reworked alarms, added alarm on dkim issue
This commit is contained in:
@@ -5,5 +5,11 @@ const resource = 'alarms'
|
||||
export default {
|
||||
getAll (params) {
|
||||
return repository.get(`${resource}/`, { params })
|
||||
},
|
||||
switchStatus (alarmId, data) {
|
||||
return repository.patch(`${resource}/${alarmId}/switch/`, data)
|
||||
},
|
||||
delete (alarmId) {
|
||||
return repository.delete(`${resource}/${alarmId}/`)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user