From b9f7e49f54ddb8d123cf5266aa3f547fa9da0860 Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Wed, 23 Oct 2024 18:45:23 +0530 Subject: [PATCH] Improved: added comments for api related to facility and productStores(#193) --- src/store/user.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/user.ts b/src/store/user.ts index 048745d..c934c47 100644 --- a/src/store/user.ts +++ b/src/store/user.ts @@ -84,6 +84,7 @@ export const useUserStore = defineStore('user', { updateTimeZone(tzId: string) { this.currentTimeZoneId = tzId }, + // Facility api calls - retrieve user facilities & get/set preferred facility async getUserFacilities(partyId: any, facilityGroupId: any, isAdminUser: boolean) { const authStore = useAuthStore(); @@ -126,6 +127,7 @@ export const useUserStore = defineStore('user', { } this.currentFacility = payload; }, + // ECom store api calls - fetch stores by facility & get/set user store preferences async getEComStoresByFacility(facilityId?: any) { const authStore = useAuthStore();