mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-26 18:26:38 +08:00
just add
This commit is contained in:
@ -31,3 +31,7 @@ export const fetchAppParams = async () => {
|
||||
export const updateFeedback = async ({ url, body }: { url: string; body: Feedbacktype }) => {
|
||||
return post(url, { body })
|
||||
}
|
||||
|
||||
export const fetchAccessToken = async (appId: string) => {
|
||||
return get('/passport') as Promise<{ access_token: string }>
|
||||
}
|
||||
Reference in New Issue
Block a user