- promises.push(change);
- /* Backend bug disallows deleting: RIFT-14910
-
- if(nulledCategories.length > 0) {
- remove = $.ajax({
- // url: apiUrl('api/config/default-severity'),
- url: apiUrl('api/config/default-syslog-severity'),
- type: 'DELETE',
- beforeSend: Utils.addAuthorizationStub,
- data: nulledCategories,
- success: function(data) {
- resolve(data);
- },
- error: function(error) {
- console.log("There was an error updating the logging config data",
- error);
- reject(error);
- }
- });
- promises.push(remove);
- }
- */
-
-
- Promise.all(promises).then(function(data){