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,
|
TextField,
|
||||||
Button
|
Button
|
||||||
} from '@material-ui/core';
|
} from '@material-ui/core';
|
||||||
|
import * as log from '../log'
|
||||||
|
|
||||||
import client from '../client'
|
import client from '../client'
|
||||||
|
|
||||||
|
@ -27,7 +28,7 @@ const Chat = () => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
||||||
client
|
client
|
||||||
.createPostForGameId(gameId, message)
|
.createPostForGame(gameId, message)
|
||||||
.then(r => {
|
.then(r => {
|
||||||
log.debug(`Message posted`)
|
log.debug(`Message posted`)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue