Skip to content

Commit

Permalink
remove body from join-tribe api request
Browse files Browse the repository at this point in the history
POST /api/users/memberships/:tribeId
  • Loading branch information
mrkvon committed Dec 13, 2019
1 parent bc51d86 commit fa91c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tribes/client/api/tribes.api.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

export async function join(tribeId) {
const { data } = await axios.post(`/api/users/memberships/${tribeId}`, { tribeId });
const { data } = await axios.post(`/api/users/memberships/${tribeId}`);
return data;
}

Expand Down

0 comments on commit fa91c25

Please sign in to comment.