Skip to content

Commit

Permalink
Add trailing slash to favorite delete url
Browse files Browse the repository at this point in the history
  • Loading branch information
jphalip committed Sep 9, 2015
1 parent 22af2a7 commit 6b4da60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photos/static/js/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const photoStore = Reflux.createStore({
this.propagateState();

// Post change to the server
request.delete('/api/favorites/' + favorite.id)
request.delete('/api/favorites/' + favorite.id + '/')
.then((favorites) => {
// Update store with server's authoritative data
this.favorites = favorites.data;
Expand Down

0 comments on commit 6b4da60

Please sign in to comment.