Finish report

This commit is contained in:
Gregoire Parant 2020-10-15 10:37:40 +02:00
parent f6ae7d8d3b
commit 7b435edd71

View file

@ -500,9 +500,9 @@ export class IoSocketController {
}
//TODO report user on admin application
Axios.post(`${ADMIN_API_URL}/api/report`, {
reportedUserUuid: client.userUuid,
reportedUserUuid: reportedSocket.userUuid,
reportedUserComment: reportPlayerMessage.getReportcomment(),
reporterUserUuid: client.userUuid,
reporterUserUuid: client.userUuid
},
{
headers: {"Authorization": `${ADMIN_API_TOKEN}`}