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:
Ryan Wang
2024-05-24 12:04:50 +08:00
committed by GitHub
parent 49bb9c10aa
commit f3c3c91ca4
116 changed files with 3254 additions and 3252 deletions

View File

@@ -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;