diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-02-01 11:14:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 11:14:15 +0100 |
commit | 5ea5c1639911a8145a0b2f64226a23bd59b20153 (patch) | |
tree | 70bc6ed1b5fd1ec50aef6c21e6baeed97a621c5f | |
parent | 078b6e88e7ea3135d065a0a3323f1403570060d6 (diff) | |
parent | 0ea058318d87ae08386ed9d086c3310e0f8605ce (diff) |
Merge pull request #900 from nextcloud/only-one-PUT-on-creation
Do not update after contact first push to server
-rw-r--r-- | src/store/contacts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/contacts.js b/src/store/contacts.js index 613fd2a9..09b7adef 100644 --- a/src/store/contacts.js +++ b/src/store/contacts.js @@ -294,7 +294,7 @@ const actions = { // if no dav key, contact does not exists on server if (!contact.dav) { // create contact - await contact.addressbook.dav.createVCard(vData) + return contact.addressbook.dav.createVCard(vData) .then((response) => { Vue.set(contact, 'dav', response) }) |