MCPcopy Create free account
hub / github.com/dataease/SQLBot / success

Function success

frontend/src/views/login/xpack/PlatformClient.ts:161–165  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

159 window['tt'].requestAuthCode({
160 appId: clientId,
161 success(res: any) {
162 const code = res?.code || res
163 const state = `fit2cloud-larksuite-client`
164 toUrl(`?code=${code}&state=${state}`)
165 },
166 fail(error: any) {
167 const { errno, errString } = error
168 ElMessage.error(`error code: ${errno}, error msg: ${errString}`)

Callers

nothing calls this directly

Calls 1

toUrlFunction · 0.85

Tested by

no test coverage detected