mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
feat: load balancers ui
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -10,7 +10,9 @@ export const annotationsApi = {
|
||||
}),
|
||||
createAnnotation: (body: DtoCreateAnnotationRequest) =>
|
||||
withRefresh(async () => {
|
||||
return await annotations.createAnnotation({ body })
|
||||
return await annotations.createAnnotation({
|
||||
dtoCreateAnnotationRequest: body,
|
||||
})
|
||||
}),
|
||||
getAnnotation: (id: string) =>
|
||||
withRefresh(async () => {
|
||||
@@ -22,6 +24,9 @@ export const annotationsApi = {
|
||||
}),
|
||||
updateAnnotation: (id: string, body: DtoUpdateAnnotationRequest) =>
|
||||
withRefresh(async () => {
|
||||
return await annotations.updateAnnotation({ id, body })
|
||||
return await annotations.updateAnnotation({
|
||||
id,
|
||||
dtoUpdateAnnotationRequest: body,
|
||||
})
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user