mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 07:14:14 +00:00
fix: notion binding (#2572)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user