mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 02:30:51 +08:00
fix(auth-files): send aliases for oauth model alias patch
This commit is contained in:
@@ -105,7 +105,7 @@ export const authFilesApi = {
|
||||
},
|
||||
|
||||
saveOauthModelMappings: (channel: string, mappings: OAuthModelMappingEntry[]) =>
|
||||
apiClient.patch('/oauth-model-alias', { channel, mappings }),
|
||||
apiClient.patch('/oauth-model-alias', { channel, aliases: mappings }),
|
||||
|
||||
deleteOauthModelMappings: (channel: string) =>
|
||||
apiClient.delete(`/oauth-model-alias?channel=${encodeURIComponent(channel)}`),
|
||||
|
||||
Reference in New Issue
Block a user