Skip to content

Commit

Permalink
Improved: Changed the service name responsible for fetching the item …
Browse files Browse the repository at this point in the history
…count in a cycle count(hotwax#635)
  • Loading branch information
R-Sourabh committed Jan 17, 2025
1 parent b04345c commit 8202901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/services/CountService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const fetchCycleCountItems = async (payload: any): Promise<any> => {
})
}

const fetchCycleCountItemStatus = async (payload: any): Promise<any> => {
const fetchCycleCountItemsCount = async (payload: any): Promise<any> => {
return api({
url: `cycleCounts/${payload.inventoryCountImportId}/items/count`,
method: "GET",
Expand Down Expand Up @@ -184,7 +184,7 @@ export const CountService = {
fetchCycleCountStats,
fetchCycleCounts,
fetchCycleCountItems,
fetchCycleCountItemStatus,
fetchCycleCountItemsCount,
fetchCycleCountsTotal,
recountItems,
updateCount,
Expand Down
2 changes: 1 addition & 1 deletion src/views/PendingReviewDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ async function recountItem(item?: any) {
async function completeCount() {
try {
const resp = await CountService.fetchCycleCountItemStatus({
const resp = await CountService.fetchCycleCountItemsCount({
inventoryCountImportId: props?.inventoryCountImportId,
statusId: "INV_COUNT_CREATED",
})
Expand Down

0 comments on commit 8202901

Please sign in to comment.