mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-17 06:52:26 +01:00
Don't resolve empty Etags as valid.
This commit is contained in:
parent
0c23565b85
commit
92f99e6925
@ -2459,7 +2459,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
console.log('HEAD response', response);
|
||||
console.log('HEAD Etag', etag);
|
||||
console.log('Saved Etag', data.Etag);
|
||||
if(etag === data.Etag) {
|
||||
if(etag && etag === data.Etag) {
|
||||
console.log('Returning saved data');
|
||||
self.insertContacts(data.contacts);
|
||||
defer.resolve();
|
||||
|
Loading…
x
Reference in New Issue
Block a user