Skip to content

Commit

Permalink
Improved: syntax for clean code structure (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Feb 6, 2024
1 parent 9479a15 commit ee259d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/ProductService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const addProductToFacility = async (payload: any): Promise<any> => {

const getCurrentFacilityLocation = async (facilityId: string): Promise<any> => {
let locationSeqId;

try {
const params = {
"inputFields": {
Expand All @@ -88,6 +89,7 @@ const getCurrentFacilityLocation = async (facilityId: string): Promise<any> => {
} catch (err) {
console.error(err);
}

return locationSeqId;
}

Expand Down

0 comments on commit ee259d1

Please sign in to comment.