Fix client
This commit is contained in:
parent
6aa2a94865
commit
097dae9ce9
1 changed files with 2 additions and 1 deletions
|
@ -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`)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue