diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:58:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:59:08 +0200 |
commit | 4f9b7432dd4d323ac6cc4efceeae2efaffe62e7d (patch) | |
tree | acae9e59bd6971885f7cb7b7ed45c4c9d1af4fca /app/assets/javascripts/components/actions/follow.jsx | |
parent | 3f75f522856954690d92358107e78bafd0db0baa (diff) |
Fix #52 - Add API versioning (v1)
Diffstat (limited to 'app/assets/javascripts/components/actions/follow.jsx')
-rw-r--r-- | app/assets/javascripts/components/actions/follow.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/follow.jsx b/app/assets/javascripts/components/actions/follow.jsx index f747a3190..8eb440789 100644 --- a/app/assets/javascripts/components/actions/follow.jsx +++ b/app/assets/javascripts/components/actions/follow.jsx @@ -16,7 +16,7 @@ export function submitFollow(router) { return function (dispatch, getState) { dispatch(submitFollowRequest()); - api(getState).post('/api/follows', { + api(getState).post('/api/v1/follows', { uri: getState().getIn(['follow', 'text']) }).then(function (response) { dispatch(submitFollowSuccess(response.data)); |