mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-20 16:44:38 +08:00
refactor: improve method name of api client (#5980)
#### What type of PR is this? /area ui /kind cleanup /milestone 2.16.x #### What this PR does / why we need it: 规范 api client 的方法名,之前生成的 api client 的方法名没有完全遵循驼峰命名。 #### Which issue(s) this PR fixes: Close https://github.com/halo-dev/halo/issues/5716 #### Special notes for your reviewer: CI 通过即可。 #### Does this PR introduce a user-facing change? ```release-note None ```
This commit is contained in:
@@ -45,7 +45,7 @@ const { data: plugin } = useQuery({
|
||||
queryKey: ["plugin", route.params.name],
|
||||
queryFn: async () => {
|
||||
const { data } =
|
||||
await apiClient.extension.plugin.getpluginHaloRunV1alpha1Plugin({
|
||||
await apiClient.extension.plugin.getPluginHaloRunV1alpha1Plugin({
|
||||
name: route.params.name as string,
|
||||
});
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user