summaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-17 00:22:38 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-17 00:22:38 +0100
commitc6b4c6a90a3bb77add64994f51d3e2af790c8452 (patch)
treec4faaf7e4e48fa09b555c0f4ba50e204f73e8617 /src/services
parentcee635ff1db9ba7c9212547831287efe56c69a1f (diff)
downloadlom_frontend-c6b4c6a90a3bb77add64994f51d3e2af790c8452.tar.gz
lom_frontend-c6b4c6a90a3bb77add64994f51d3e2af790c8452.zip
make styles and add some features
Diffstat (limited to 'src/services')
-rw-r--r--src/services/ChatService.js12
1 files changed, 12 insertions, 0 deletions
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 {
37 } 37 }
38 }) 38 })
39 .catch(error => error_notify(error)) 39 .catch(error => error_notify(error))
40 },
41
42 async get_group_detail(group_pk) {
43 return await axios
44 .get(url+`groups/detail/${group_pk}/`)
45 .then(res => {
46 return {
47 status: res.status,
48 data: res.data
49 }
50 })
51 .catch(error => error_notify(error))
40 } 52 }
41} 53}