mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
Merge branch 'feat/collaboration' into feat/collaboration2
This commit is contained in:
@ -389,3 +389,7 @@ export const resetEmail = (body: { new_email: string; token: string }) =>
|
||||
|
||||
export const checkEmailExisted = (body: { email: string }) =>
|
||||
post<CommonResponse>('/account/change-email/check-email-unique', { body }, { silent: true })
|
||||
|
||||
export const getAvatar: Fetcher<{ avatar_url: string }, { avatar: string }> = ({ avatar }) => {
|
||||
return get<{ avatar_url: string }>(`/account/avatar?avatar=${avatar}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user