Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Dec 3, 2023
1 parent 5b4aba6 commit ecc8353
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ export class Session {
* const endpoint = 'http://localhost:2020/graphql';
* const keyPair = new KeyPair();
*
*
* const session = await new Session(endpoint)
* .setKeyPair(keyPair)
* .create(fields, { schemaId });
Expand All @@ -452,7 +451,7 @@ export class Session {
const bytes = await intoBytes(blob);

Check warning on line 451 in src/session.ts

View check run for this annotation

Codecov / codecov/patch

src/session.ts#L450-L451

Added lines #L450 - L451 were not covered by tests
const keyPair = options?.keyPair || this.keyPair;

// Retreive next entry arguments
// Retrieve next entry arguments
const publicKey = keyPair.publicKey();

Check warning on line 455 in src/session.ts

View check run for this annotation

Codecov / codecov/patch

src/session.ts#L455

Added line #L455 was not covered by tests

const pieces = [];

Check warning on line 457 in src/session.ts

View check run for this annotation

Codecov / codecov/patch

src/session.ts#L457

Added line #L457 was not covered by tests
Expand Down

0 comments on commit ecc8353

Please sign in to comment.