mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 23:49:07 +08:00
fix: notion binding (#2572)
This commit is contained in:
parent
5b953c1ef2
commit
0c0e96c55f
@ -122,7 +122,7 @@ export const useCheckNotion = () => {
|
|||||||
const notionCode = searchParams.get('code')
|
const notionCode = searchParams.get('code')
|
||||||
const notionError = searchParams.get('error')
|
const notionError = searchParams.get('error')
|
||||||
const { data } = useSWR(
|
const { data } = useSWR(
|
||||||
canBinding
|
(canBinding && notionCode)
|
||||||
? `/oauth/data-source/binding/notion?code=${notionCode}`
|
? `/oauth/data-source/binding/notion?code=${notionCode}`
|
||||||
: null,
|
: null,
|
||||||
fetchDataSourceNotionBinding,
|
fetchDataSourceNotionBinding,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user