Finish report
This commit is contained in:
parent
f6ae7d8d3b
commit
7b435edd71
@ -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…
Reference in New Issue
Block a user