From 18529779f4893ce04884993c884cbcd077c1277d Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 28 Jul 2022 00:49:23 +0200 Subject: [PATCH] get users list --- web/js/home.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/js/home.js b/web/js/home.js index c4f876d..c368d10 100644 --- a/web/js/home.js +++ b/web/js/home.js @@ -11,4 +11,9 @@ instance.get("users/count", { withCredentials: true }).then(function(response){ } +}); + + +instance.get("users", {withCredentials: true}).then(function(response){ + console.log(response); }) \ No newline at end of file