Commit 1952fa9
committed
refactor(ApiResponseFactory): change return type for apiResponse method
- Change the return type of the apiResponse method to ApiResponse.
- Update method implementation to use resolve() instead of app() for better clarity and consistency.
- This refactor improves type safety and clarifies the expected output of the method.1 parent 290fd84 commit 1952fa9
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
26 | 22 | | |
27 | | - | |
| 23 | + | |
28 | 24 | | |
29 | 25 | | |
0 commit comments