api: Use plural URL forms

Be compliant with api design guidelines, see osbuild/image-builder#42.
This commit is contained in:
Sanne Raymaekers 2020-10-27 13:16:23 +01:00
parent ea09205a27
commit 79402e04c7

View file

@ -12,7 +12,7 @@ async function composeImage(body) {
}
async function getComposeStatus(id) {
let path = '/compose/' + id;
let path = '/composes/' + id;
const request = await axios.get(IMAGE_BUILDER_API.concat(path));
return request.data;
}