mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
feat: load balancers ui
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user