Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Hotfix/fix tax wiping on stock update (#8)
Browse files Browse the repository at this point in the history
* Point to new inventory route

* Build production
  • Loading branch information
alecritson authored Dec 11, 2018
1 parent e0c7676 commit b02fb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
if (JSON.stringify(variant) == JSON.stringify(this.editingBackup.variants.data[index])) {
return;
}
apiRequest.send('put', '/products/variants/' + variant.id, variant)
apiRequest.send('put', '/products/variants/' + variant.id + '/inventory', variant)
.then(response => {
CandyEvent.$emit('notification', {
level: 'success',
Expand Down
2 changes: 1 addition & 1 deletion resources/build/js/hub.js

Large diffs are not rendered by default.

0 comments on commit b02fb83

Please sign in to comment.