Skip to content

Commit ba38a29

Browse files
author
kansihksingh23
committed
fix: format files with prettier
1 parent 668bc1d commit ba38a29

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

public/examples/4f187905-c47e-4ebd-a095-ba254e8bfd80.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"demoName": "Batch Payments flow from PHEE - Mifos X",
33
"demoDescription": "End-to-end batch payment flow from Payment Hub EE to Mifos X",
4-
"tags": [
5-
"MifosX",
6-
"Phee"
7-
],
4+
"tags": ["MifosX", "Phee"],
85
"steps": {
96
"1": {
107
"title": "Login to Ops Web",
@@ -33,4 +30,4 @@
3330
}
3431
},
3532
"demoId": "4f187905-c47e-4ebd-a095-ba254e8bfd80"
36-
}
33+
}

public/examples/metadata.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
"created_by": "kanishk05",
1313
"last_modified_by": "kanishk05",
1414
"deleted": false,
15-
"tags": [
16-
"MifosX",
17-
"Phee"
18-
]
15+
"tags": ["MifosX", "Phee"]
1916
}
2017
]
2118
}

src/lib/api/fetchDemoData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const fetchDemoData = async (demotitle: string) => {
1212
// Fallback to local examples when VITE_API_URL is not set
1313
// demotitle is the demoId from the URL path
1414
const response = await fetch(`/examples/${demotitle}.json`, {
15-
headers: { 'Accept': 'application/json' }
15+
headers: { Accept: 'application/json' },
1616
});
1717
const data = await response.json();
1818
return data;

0 commit comments

Comments
 (0)