diff --git a/webapp/src/pages/chat.js b/webapp/src/pages/chat.js index 6f5693e..5976fb4 100644 --- a/webapp/src/pages/chat.js +++ b/webapp/src/pages/chat.js @@ -5,6 +5,7 @@ import { TextField, Button } from '@material-ui/core'; +import * as log from '../log' import client from '../client' @@ -27,7 +28,7 @@ const Chat = () => { e.preventDefault() client - .createPostForGameId(gameId, message) + .createPostForGame(gameId, message) .then(r => { log.debug(`Message posted`) })