Skip to content

Commit

Permalink
Improved: added comments for api related to facility and productStores(
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Sourabh committed Oct 23, 2024
1 parent 202e891 commit b9f7e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit b9f7e49

Please sign in to comment.