chore: lint and format
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -912,20 +912,14 @@ const UPDATE_RECORDING_MUTATION = gql`
|
||||
}
|
||||
`;
|
||||
|
||||
export async function updateRecording(
|
||||
id: string,
|
||||
fields: { status?: string; public?: boolean },
|
||||
) {
|
||||
return loggedApiCall(
|
||||
"updateRecording",
|
||||
async () => {
|
||||
const data = await getGraphQLClient().request<{ updateRecording: Recording }>(
|
||||
UPDATE_RECORDING_MUTATION,
|
||||
{ id, ...fields },
|
||||
);
|
||||
return data.updateRecording;
|
||||
},
|
||||
);
|
||||
export async function updateRecording(id: string, fields: { status?: string; public?: boolean }) {
|
||||
return loggedApiCall("updateRecording", async () => {
|
||||
const data = await getGraphQLClient().request<{ updateRecording: Recording }>(
|
||||
UPDATE_RECORDING_MUTATION,
|
||||
{ id, ...fields },
|
||||
);
|
||||
return data.updateRecording;
|
||||
});
|
||||
}
|
||||
|
||||
const DELETE_RECORDING_MUTATION = gql`
|
||||
|
||||
Reference in New Issue
Block a user