Fix client

This commit is contained in:
Miguel de la Cruz 2021-10-13 20:05:08 +02:00
parent 6aa2a94865
commit 097dae9ce9

View file

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