Skip to content

Commit

Permalink
fix: eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Sep 30, 2024
1 parent 4872eb2 commit 14f7f5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const issueJWT = async (
client: OpenAPIClient<paths, MediaType>,
wallet: WalletService,
) => {
let auth = new Auth(client);
const auth = new Auth(client);

const message = await auth.generateSignMessage();
const signatureDetails = await wallet.signMessage(message);
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class SDKFactory {
baseUrl: url,
});

if (logging) {
}

client.use(AuthMiddleware({ environment, privateKey, wallet, client }));

return client;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/data-asset/data-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export class DataAsset {
throw new GTWError(error, response);
}

return { file, fileName: 'name' };
return { file, fileName: name };
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/modules/data-model/data-model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { MediaType } from 'openapi-typescript-helpers';
import {
Config,
DataModelRequest,
HelperPaginatedResponse,
OpenAPIClient,
Expand Down

0 comments on commit 14f7f5e

Please sign in to comment.