forked from Proxmox/proxmox
271a55f187
when using the client for an api call that does not return any data (it returns '{"data":null}'), we would always get an error 'api returned no data'. The message is technically correct, but it should not be an error when we expect no data (e.g. most of our CRUD PUT/POST calls) instead of having the Option<T> in the RawApiResponse type itself, move it into to the 'nodata' function intended for api calls where we don't expect any data. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
Cargo.toml |