remove unused getAllRequest from settings
This commit is contained in:
parent
ba8a2b587c
commit
40e74bbfd1
2 changed files with 0 additions and 6 deletions
|
@ -190,11 +190,6 @@ const settingsController = {
|
|||
settingsController.set('logo', baseImgPath)
|
||||
res.sendStatus(200)
|
||||
})
|
||||
},
|
||||
|
||||
getAllRequest (req, res) {
|
||||
// get public settings and public configuration
|
||||
res.json({ ...settingsController.settings, version: pkg.version })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -119,7 +119,6 @@ if (config.status !== 'READY') {
|
|||
api.post('/event/notification', eventController.addNotification)
|
||||
api.delete('/event/notification/:code', eventController.delNotification)
|
||||
|
||||
api.get('/settings', settingsController.getAllRequest)
|
||||
api.post('/settings', isAdmin, settingsController.setRequest)
|
||||
api.post('/settings/logo', isAdmin, multer({ dest: config.upload_path }).single('logo'), settingsController.setLogo)
|
||||
api.post('/settings/smtp', isAdmin, settingsController.testSMTP)
|
||||
|
|
Loading…
Reference in a new issue