mirror of
https://github.com/niusmallnan/steve.git
synced 2025-06-24 13:41:35 +00:00
Transform table to obj on create
This commit is contained in:
parent
02caeafb5d
commit
d6c6de17bd
@ -387,6 +387,7 @@ func (s *Store) Create(apiOp *types.APIRequest, schema *types.APISchema, params
|
|||||||
}
|
}
|
||||||
|
|
||||||
resp, err = k8sClient.Create(&unstructured.Unstructured{Object: input}, opts)
|
resp, err = k8sClient.Create(&unstructured.Unstructured{Object: input}, opts)
|
||||||
|
rowToObject(resp)
|
||||||
return toAPI(schema, resp), err
|
return toAPI(schema, resp), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user