Properly propagate 204 to fetchManifest
This commit is contained in:
parent
c857250b12
commit
b6287f4839
3 changed files with 25 additions and 7 deletions
|
@ -423,7 +423,12 @@ function doRecordsConflict(
|
|||
|
||||
// If both types are Long we can use Long's equals to compare them
|
||||
if (Long.isLong(localValue) || typeof localValue === 'number') {
|
||||
if (!Long.isLong(remoteValue) || typeof remoteValue !== 'number') {
|
||||
if (!Long.isLong(remoteValue) && typeof remoteValue !== 'number') {
|
||||
log.info(
|
||||
'storageService.doRecordsConflict: Conflict found, remote value ' +
|
||||
'is not a number',
|
||||
key
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue