mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Remove max days to keep limit in devicestatus delete.
Remove unused count query option in devicestatus delete api. (cherry picked from commit 3101a8d7d054df469071f78bba18a8295dc34404)
This commit is contained in:
@@ -58,9 +58,6 @@ function configure (app, wares, ctx) {
|
||||
// delete record that match query
|
||||
api.delete('/devicestatus/', ctx.authorization.isPermitted('api:devicestatus:delete'), function(req, res) {
|
||||
var query = req.query;
|
||||
if (!query.count) {
|
||||
query.count = 10
|
||||
}
|
||||
|
||||
console.log('Delete records with query: ', query);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user