Skip to content

Commit

Permalink
Correctly set the match venue id
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Feb 19, 2025
1 parent e2a1514 commit c6e6be8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = {
const socket = io.connect(`${window.location.origin}/venue/${this.state.venueId}`);
socket.on("connect", () => {
const match = this.state.match;
match.venue.id = this.state.venueId;
match.venue = { id: this.state.venueId };

axios.put(`${window.location.protocol}//${window.location.hostname}${this.state.locals.api_path}/match/${match.id}`, match)
.then(response => {
Expand Down

0 comments on commit c6e6be8

Please sign in to comment.