Also swap the order of a couple of `.map_err().await` to `.await.map_err()` since that's generally more efficient. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
and percolate the HttpError back up on the client side Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
and put it into a new "api2::helpers" module. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>