Skip to content

Commit

Permalink
fix(front.dataService): modify a put method into patch to fix a behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
davinkevin committed Apr 8, 2016
1 parent ca91409 commit 731e1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/app/common/service/data/podcastService.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class PodcastService {
}

patch(podcast) {
return this.$http.put(`/api/podcast/${podcast.id}`, podcast).then(r => r.data);
return this.$http.patch(`/api/podcast/${podcast.id}`, podcast).then(r => r.data);
}

delete(podcast) {
Expand Down

0 comments on commit 731e1a2

Please sign in to comment.