mirror of
https://github.com/Telecominfraproject/wlan-cloud-analytics.git
synced 2026-01-27 10:22:33 +00:00
Fix bug of removed Venue and dangling board.
This commit is contained in:
@@ -32,13 +32,9 @@ namespace OpenWifi {
|
||||
if(!StorageService()->BoardsDB().GetRecord("id",id,B)) {
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
VenueCoordinator()->StopBoard(id);
|
||||
if(!StorageService()->BoardsDB().DeleteRecord("id",id)) {
|
||||
return NotFound();
|
||||
}
|
||||
StorageService()->BoardsDB().DeleteRecord("id",id);
|
||||
StorageService()->TimePointsDB().DeleteBoard(id);
|
||||
|
||||
return OK();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user