We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b41f40 commit a0d7c45Copy full SHA for a0d7c45
src/server/routers/invoice.ts
@@ -392,9 +392,9 @@ export const invoiceRouter = router({
392
.mutation(async ({ ctx, input }) => {
393
const { requestId } = input;
394
395
- const request = await apiClient.patch(
396
- `/v2/request/${requestId}/stop-recurrence`,
397
- );
+ const request = await apiClient.patch(`/v2/request/${requestId}`, {
+ isRecurrenceStopped: true,
+ });
398
399
if (request.status !== 200) {
400
throw new TRPCError({
0 commit comments