Skip to content

Commit

Permalink
fix: notion binding (langgenius#2572)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh authored Feb 27, 2024
1 parent 5b953c1 commit 0c0e96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/hooks/use-pay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const useCheckNotion = () => {
const notionCode = searchParams.get('code')
const notionError = searchParams.get('error')
const { data } = useSWR(
canBinding
(canBinding && notionCode)
? `/oauth/data-source/binding/notion?code=${notionCode}`
: null,
fetchDataSourceNotionBinding,
Expand Down

0 comments on commit 0c0e96c

Please sign in to comment.