feat: load balancers ui

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-11-17 15:16:20 +00:00
parent 9853d32b04
commit d163a050d8
25 changed files with 622 additions and 72 deletions

View File

@@ -11,7 +11,7 @@ export const serversApi = {
}),
createServer: (body: DtoCreateServerRequest) =>
withRefresh(async () => {
return await servers.createServer({ body })
return await servers.createServer({ dtoCreateServerRequest: body })
}),
getServer: (id: string) =>
withRefresh(async () => {
@@ -19,7 +19,7 @@ export const serversApi = {
}),
updateServer: (id: string, body: DtoUpdateServerRequest) =>
withRefresh(async () => {
return await servers.updateServer({ id, body })
return await servers.updateServer({ id, dtoUpdateServerRequest: body })
}),
deleteServer: (id: string) =>
withRefresh(async () => {