Skip to content

Commit

Permalink
fix casing to be same as backend for consistency
Browse files Browse the repository at this point in the history
- Fixed #133
  • Loading branch information
chaitanyapotti committed Feb 5, 2024
1 parent 46c9248 commit de06da0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/helpers/nodeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ export async function retrieveOrImportShare(params: {
{
headers: {
verifier,
verifierId: verifierParams.verifier_id,
verifierid: verifierParams.verifier_id,
network,
clientId,
enableGating: "true",
clientid: clientId,
enablegating: "true",
},
},
{ useAPIKey: true }
Expand Down Expand Up @@ -689,10 +689,10 @@ export const legacyKeyAssign = async ({
data,
{
headers: {
pubKeyX: torusNodePubs[nodeNum].X,
pubKeyY: torusNodePubs[nodeNum].Y,
pubkeyx: torusNodePubs[nodeNum].X,
pubkeyy: torusNodePubs[nodeNum].Y,
network,
clientId,
clientid: clientId,
},
},
{ useAPIKey: true }
Expand Down
6 changes: 3 additions & 3 deletions src/torus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ class Torus {
{
headers: {
verifier,
verifierId: verifierParams.verifier_id,
verifierid: verifierParams.verifier_id,
network: this.network,
clientId: this.clientId,
enableGating: "true",
clientid: this.clientId,
enablegating: "true",
},
},
{ useAPIKey: true }
Expand Down

0 comments on commit de06da0

Please sign in to comment.