Fix client

This commit is contained in:
Miguel de la Cruz 2021-10-13 20:05:08 +02:00
parent 6aa2a94865
commit 097dae9ce9
1 changed files with 2 additions and 1 deletions

View File

@ -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`)
})