Skip to content

Commit

Permalink
fix: add api route to fetching member data
Browse files Browse the repository at this point in the history
Relates #43
  • Loading branch information
RamyAlshurafa committed Dec 31, 2018
1 parent eda0ca9 commit 5d253d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/actions/fetch_team_members.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import { GET_TEAM_MEMBERS } from '../constants/actionTypes';

export default teamId => dispatch => {
axios.get(`/teams/${teamId}/members`).then(({ data }) =>
axios.get(`/api/teams/${teamId}/members`).then(({ data }) =>
dispatch({
type: GET_TEAM_MEMBERS,
data,
Expand Down

0 comments on commit 5d253d9

Please sign in to comment.