Selaa lähdekoodia

fix jwt in web (#545)

tags/0.3.8
zxhlyh 2 vuotta sitten
vanhempi
commit
9af0da4450
No account linked to committer's email address

+ 2
- 1
web/app/components/share/chat/index.tsx Näytä tiedosto

@@ -310,7 +310,8 @@ const Main: FC<IMainProps> = ({
}

const fetchInitData = async () => {
await checkOrSetAccessToken()
if (!isInstalledApp)
await checkOrSetAccessToken()

return Promise.all([isInstalledApp
? {

+ 2
- 1
web/app/components/share/text-generation/index.tsx Näytä tiedosto

@@ -255,7 +255,8 @@ const TextGeneration: FC<IMainProps> = ({
}

const fetchInitData = async () => {
await checkOrSetAccessToken()
if (!isInstalledApp)
await checkOrSetAccessToken()

return Promise.all([isInstalledApp
? {

Loading…
Peruuta
Tallenna