Skip to content

Commit

Permalink
Improve client initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Mar 4, 2024
1 parent 9fd1d33 commit 4caa99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/authenticatedHttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DEFAULT_API_V2, RequireOnlyOne } from '@aleph-sdk/core'

export class AuthenticatedAlephHttpClient extends AlephHttpClient {
account: Account
constructor(apiServer: string = DEFAULT_API_V2, account: Account) {
constructor(account: Account, apiServer: string = DEFAULT_API_V2) {
super(apiServer)
this.account = account
}
Expand Down

0 comments on commit 4caa99a

Please sign in to comment.