From 40b37e8f08bede2cb15f0b2fc5c639823c59b40e Mon Sep 17 00:00:00 2001 From: Mehdi104797 <92753457+Mehdi104797@users.noreply.github.com> Date: Thu, 3 Apr 2025 13:27:25 +0330 Subject: [PATCH] . --- components/chat/components/Group.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/chat/components/Group.vue b/components/chat/components/Group.vue index 03d0b0e..35a04ec 100644 --- a/components/chat/components/Group.vue +++ b/components/chat/components/Group.vue @@ -1626,9 +1626,10 @@ export default { target.classList.add("error"); }, getGroupTypes() { + let url = chatApi.forms.groupTypes; console.log("🚀 ~ getGroupTypes ~ url:", url); - this.httpService.postRequest("api/keyvalue/" + url).then((response) => { + this.httpService.postRequest("keyvalue/" + url).then((response) => { this.groupfilters = response.data; }); }, @@ -1710,7 +1711,7 @@ export default { if (this.fetchingData) return; this.fetchingData = true; - let url = "api/message/" + chatApi[listType].list; + let url = "message/" + chatApi[listType].list; // let urlPrefix = chatApi.groups.list; if (!(listType == "lobbies" || listType == "unReads")) @@ -2081,6 +2082,7 @@ export default { }, showMessages(groups, groupItem, index) { + const { $eventBus } = useNuxtApp(); $eventBus.emit("close-replays");