Skip to content

Commit

Permalink
fix: deploy tests fixed; missing files (the completes the frontend im…
Browse files Browse the repository at this point in the history
…pl) from the draft branch have been added.
  • Loading branch information
mmoehabb committed Dec 5, 2024
1 parent 2e1ea87 commit 3c23157
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/atlas/src/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ export class Call extends Base {
async findById(id: number): Promise<ICall.FindCallByIdApiResponse> {
return await this.get(`/api/v1/call/${id}`);
}

async findCallMembers(id: number): Promise<ICall.FindCallMembersByCallIdApiResponse> {
return await this.get(`/api/v1/call/${id}/members`);
}
}
5 changes: 5 additions & 0 deletions packages/types/src/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,9 @@ export type FindUserCallsApiResponse = {
members: Record<string, PopuldatedMember[]>;
};

export type FindCallMembersByCallIdApiResponse = {
members: PopuldatedMember[];
};


export type Type = "lesson" | "interview";

0 comments on commit 3c23157

Please sign in to comment.