Skip to content

Commit

Permalink
fix: linter error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Sep 20, 2024
1 parent f716802 commit a403af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/data-asset/data-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class DataAsset {
);
const { data, error, response } = await this.client.POST('/data-assets', {
body: {},
bodySerializer(body) {
bodySerializer() {
return formData;

Check warning on line 72 in src/modules/data-asset/data-asset.ts

View check run for this annotation

Codecov / codecov/patch

src/modules/data-asset/data-asset.ts#L71-L72

Added lines #L71 - L72 were not covered by tests
},
});
Expand Down Expand Up @@ -96,7 +96,7 @@ export class DataAsset {
* function returns the fetched data.
*/
public async getMyDataAssets(page: number = 1, page_size: number = 10) {
let { data, response, error } = await this.client.GET('/data-assets/me', {
const { data, response, error } = await this.client.GET('/data-assets/me', {
params: { query: { page, page_size } },
});

Expand Down Expand Up @@ -180,7 +180,7 @@ export class DataAsset {
{
params: { path: { id } },
body: {},
bodySerializer(body) {
bodySerializer() {
return formData;

Check warning on line 184 in src/modules/data-asset/data-asset.ts

View check run for this annotation

Codecov / codecov/patch

src/modules/data-asset/data-asset.ts#L183-L184

Added lines #L183 - L184 were not covered by tests
},
},
Expand Down

0 comments on commit a403af9

Please sign in to comment.