Populate table
This commit is contained in:
1 parent
b0182cff6d
commit
7b65debed6
9 files changed
+324
-27
No files matched your search
@@ -36,7 +36,7 @@ const createMaintenanceWindow = async (maintenanceWindowData) => {
|
||||
if (maintenanceWindowData.oneTime) {
|
||||
maintenanceWindow.expiry = maintenanceWindowData.end;
|
||||
}
|
||||
const result = maintenanceWindow.save();
|
||||
const result = await maintenanceWindow.save();
|
||||
return result;
|
||||
} catch (error) {
|
||||
error.service = SERVICE_NAME;
|
||||
|
||||
Reference in new issue
Block a user