diff --git a/src/components/EditGameForm.js b/src/components/EditGameForm.js index 9158f27231a3d5402f62de0717c77cf87a377854..c985f3ec4e40b12c0fde8ceed4ae48f53ca7a0a4 100644 --- a/src/components/EditGameForm.js +++ b/src/components/EditGameForm.js @@ -77,7 +77,7 @@ export class EditGameForm extends React.Component{ let token = sessionStorage.getItem('token'); // Send Game info to the server - fetch('http://localhost:5000/game/' + this.props.gameId, { + fetch('http://localhost:5000/game/edit' + this.props.gameId, { method: 'PUT', headers: { Authorization: 'Bearer ' + token,