From f05f4a7f5b01babba1c322d86c51bb6c312e86d2 Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Tue, 13 Oct 2020 22:19:32 +0200 Subject: [PATCH] Fix url --- back/src/Controller/IoSocketController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/Controller/IoSocketController.ts b/back/src/Controller/IoSocketController.ts index 9febeacb..84bdd6b8 100644 --- a/back/src/Controller/IoSocketController.ts +++ b/back/src/Controller/IoSocketController.ts @@ -514,7 +514,7 @@ export class IoSocketController { throw 'reported socket user not found'; } //TODO report user on admin application - Axios.post(`${ADMIN_API_URL}/aoi/report`, { + Axios.post(`${ADMIN_API_URL}/api/report`, { reportedUserUuid: client.userUuid, reportedUserComment: reportPlayerMessage.getReportcomment(), reporterUserUuid: client.userUuid,