17243 value for spent units in api v3 wrong

[``* `#17243` Value for spent units wrong in API V3``](https://community.openproject.org/work_packages/17243)