Skip to content

Commit 852a0b4

Browse files
committed
set raw=true IFX.getLogs default params
1 parent bcfe213 commit 852a0b4

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @code.store/arcxp-sdk-ts
22

3+
## 4.40.3
4+
5+
### Patch Changes
6+
7+
- set raw=true IFX.getLogs default params
8+
39
## 4.40.2
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code.store/arcxp-sdk-ts",
3-
"version": "4.40.2",
3+
"version": "4.40.3",
44
"description": "A strongly typed set of ArcXP API's and utilities reduce the amount of work required to develop with ArcXP, starting with reducing the boilerplate code you have to write.",
55
"type": "commonjs",
66
"main": "./dist/index.js",

src/api/ifx/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export class ArcIFX extends ArcAbstractAPI {
5656
return data;
5757
}
5858

59-
async getLogs(queryId: string) {
60-
const { data } = await this.client.get(`/admin/logs/results?queryId=${queryId}`);
59+
async getLogs(queryId: string, raw = true) {
60+
const { data } = await this.client.get('/admin/logs/results', { params: { queryId, raw } });
6161
return data;
6262
}
6363

0 commit comments

Comments
 (0)