mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
[Persistence] Begin integrating persistence queue
Begin integrating persistence queue, tweaking for issues detected through minimal use. WTD-1033.
This commit is contained in:
@ -38,8 +38,8 @@ define(
|
||||
data: value
|
||||
}).then(function (response) {
|
||||
return response.data;
|
||||
}, function () {
|
||||
return undefined;
|
||||
}, function (response) {
|
||||
return (response || {}).data;
|
||||
});
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ define(
|
||||
function checkResponse(response, key) {
|
||||
var error;
|
||||
if (response && !response.error) {
|
||||
revs[ID] = response[REV];
|
||||
revs[key] = response[REV];
|
||||
return response;
|
||||
} else {
|
||||
return handleError(response, key);
|
||||
|
Reference in New Issue
Block a user