summaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
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}