Skip to content

Commit

Permalink
Merge pull request #685 from NoodleOfDeath/dev
Browse files Browse the repository at this point in the history
fix(RL-97): build issues ~web
  • Loading branch information
NoodleOfDeath authored Oct 3, 2023
2 parents 916942f + 8af729a commit ed143bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/src/pages/unsubscribe/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';

import { SubscriptionEvent } from '~/api';
import Layout from '~/components/Layout';
import { useApiClient } from '~/core';
import { useRouter } from '~/hooks';
Expand All @@ -20,7 +21,7 @@ export default function UnsubcribePage() {
setLoading(false);
return;
}
const { error } = await unsubscribe({ unsubscribeToken: token });
const { error } = await unsubscribe({ event: SubscriptionEvent.Default, unsubscribeToken: token });
if (error) {
throw error;
}
Expand Down

0 comments on commit ed143bb

Please sign in to comment.