From ec59cde08020a47baef930e05074e5f6fbc92838 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 8 Dec 2017 03:04:57 +0100 Subject: [PATCH] fix: fix con --- build/api/module/message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/api/module/message.php b/build/api/module/message.php index 6c486db..42fd1db 100644 --- a/build/api/module/message.php +++ b/build/api/module/message.php @@ -30,8 +30,8 @@ class message $wsi->send([ "operation" => "PostMessage", - "message" => $_SESSION['NAME'], - "username" => $username, + "message" => $message, + "username" => $_SESSION['NAME'], "location" => $location, //TODO implémenter la récupération d'id depuis la bdd "id" => uniqid(),