Skip to content

Commit

Permalink
resolves #23
Browse files Browse the repository at this point in the history
  • Loading branch information
minhd-vu committed Feb 6, 2021
1 parent 242b7ae commit d3955fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/party/party.join.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function PartyJoin(props) {
function onJoinParty(e) {
e.preventDefault();

axios.get("/api/join/" + partyCode, { withCredentials: true })
axios.get("/api/join/" + partyCode.trim(), { withCredentials: true })
.then(res => {
if (res.status === 200) {
console.log(res.data);
Expand Down

0 comments on commit d3955fe

Please sign in to comment.