Skip to content

Commit 03ee020

Browse files
committed
Update type
1 parent 053af37 commit 03ee020

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/stack-shared/src/interface/server-interface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,13 +431,13 @@ export class StackServerInterface extends StackClientInterface {
431431
);
432432
}
433433

434-
async listServerUserTeamInvitations(userId: string): Promise<TeamInvitationCrud['Client']['Read'][]> {
434+
async listServerUserTeamInvitations(userId: string): Promise<TeamInvitationCrud['Server']['Read'][]> {
435435
const response = await this.sendServerRequest(
436436
"/team-invitations?" + new URLSearchParams({ user_id: userId }),
437437
{},
438438
null,
439439
);
440-
const result = await response.json() as TeamInvitationCrud['Client']['List'];
440+
const result = await response.json() as TeamInvitationCrud['Server']['List'];
441441
return result.items;
442442
}
443443

0 commit comments

Comments
 (0)