Skip to content

Commit 74c0ff0

Browse files
committed
some adjusts
1 parent 0629d53 commit 74c0ff0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/zoho_books/actions/make-api-call/make-api-call.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default {
5656
data: this.requestBody,
5757
});
5858

59-
$.export("$summary", `Successfully called the path: ${this.path}`);
59+
$.export("$summary", `Successfully called the path: ${this.relativeUrl}`);
6060
return response;
6161
},
6262
};

components/zoho_books/common/utils.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ export const checkUrl = (url) => {
4444
if (url.startsWith("/books/v3")) {
4545
return url.substring(9);
4646
}
47+
if (url.startsWith("/v3")) {
48+
return url.substring(3);
49+
}
4750
return url;
4851
};

0 commit comments

Comments
 (0)