Skip to content

Commit f5de9c1

Browse files
committed
make client routes only pass in content of video reference
1 parent ad48b25 commit f5de9c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/shared/src/routes/me/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const sendInviteApiLocation: SendInviteApiLocation = {
5757
export interface SendInviteApiBody {
5858
inviteEmail: string;
5959
isJointVideo: boolean;
60-
videoReference: VideoReference;
60+
videoReference: VideoReference["content"];
6161
}
6262
export type SendInviteApiCall = ApiCallDefinition<
6363
SendInviteApiLocation["uri"],

packages/shared/src/routes/members/definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export interface CreateMemberApiCallBody {
125125
username: string;
126126
inviteToken?: string;
127127
subscribeToNewsletter?: boolean;
128-
videoReference: VideoReference;
128+
videoReference: VideoReference["content"];
129129
}
130130
export type CreateMemberApiCall = ApiCallDefinition<
131131
CreateMemberApiLocation["uri"],
@@ -184,7 +184,7 @@ export const verifyMemberApiLocation: VerifyMemberApiLocation = {
184184
authenticated: true
185185
};
186186
export interface VerifyMemberApiCallBody {
187-
videoReference: VideoReference;
187+
videoReference: VideoReference["content"];
188188
}
189189
export type VerifyMemberApiCall = ApiCallDefinition<
190190
VerifyMemberApiLocation["uri"],

0 commit comments

Comments
 (0)