Skip to content

Commit

Permalink
fix(gateway-ui): update connect param to invite_code
Browse files Browse the repository at this point in the history
  • Loading branch information
wbobeirne committed Aug 30, 2023
1 parent bc1221a commit b2494e0
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 b2494e0

Please sign in to comment.