Fix #52 - Add API versioning (v1)
This commit is contained in:
parent
3f75f52285
commit
4f9b7432dd
53 changed files with 77 additions and 134 deletions
|
@ -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));
|
||||
|
|
Reference in a new issue