Finish report
This commit is contained in:
parent
f6ae7d8d3b
commit
7b435edd71
1 changed files with 2 additions and 2 deletions
|
@ -500,9 +500,9 @@ export class IoSocketController {
|
||||||
}
|
}
|
||||||
//TODO report user on admin application
|
//TODO report user on admin application
|
||||||
Axios.post(`${ADMIN_API_URL}/api/report`, {
|
Axios.post(`${ADMIN_API_URL}/api/report`, {
|
||||||
reportedUserUuid: client.userUuid,
|
reportedUserUuid: reportedSocket.userUuid,
|
||||||
reportedUserComment: reportPlayerMessage.getReportcomment(),
|
reportedUserComment: reportPlayerMessage.getReportcomment(),
|
||||||
reporterUserUuid: client.userUuid,
|
reporterUserUuid: client.userUuid
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
headers: {"Authorization": `${ADMIN_API_TOKEN}`}
|
headers: {"Authorization": `${ADMIN_API_TOKEN}`}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue