From c6b4c6a90a3bb77add64994f51d3e2af790c8452 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 17 Dec 2021 00:22:38 +0100 Subject: make styles and add some features --- src/services/ChatService.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/services') diff --git a/src/services/ChatService.js b/src/services/ChatService.js index d077e9b..d03f250 100644 --- a/src/services/ChatService.js +++ b/src/services/ChatService.js @@ -37,5 +37,17 @@ export default { } }) .catch(error => error_notify(error)) + }, + + async get_group_detail(group_pk) { + return await axios + .get(url+`groups/detail/${group_pk}/`) + .then(res => { + return { + status: res.status, + data: res.data + } + }) + .catch(error => error_notify(error)) } } -- cgit v1.2.3