Skip to content

Commit

Permalink
Merge pull request #165 from fedimint/fix-gateway-connect
Browse files Browse the repository at this point in the history
fix(gateway-ui): update connect param to invite_code
  • Loading branch information
EthnTuttle committed Aug 31, 2023
2 parents bc1221a + b2494e0 commit c48f7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/gateway-ui/src/GatewayApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class GatewayApi implements ApiInterface {
}
};

connectFederation = async (connectInfo: string): Promise<Federation> => {
connectFederation = async (inviteCode: string): Promise<Federation> => {
try {
this.checkConfig();
const res: Response = await fetch(`${this.baseUrl}/connect-fed`, {
Expand All @@ -95,7 +95,7 @@ export class GatewayApi implements ApiInterface {
Authorization: `Bearer ${this.password}`,
},
body: JSON.stringify({
connect: connectInfo,
invite_code: inviteCode,
}),
});

Expand Down

0 comments on commit c48f7fc

Please sign in to comment.