import http from "../http";

const imageAPIURL = "/image";

export default class image {
    static create = body => {
        return http.post(`${imageAPIURL}/images`, body);
    };

    static update = body => {
        return http.put(`${imageAPIURL}/images`, body);
    };
}

@@ -192,29 +192,40 @@
 tic update =
+ (imageID,
  body
+)
  =%3E %7B%0A      
@@ -256,32 +256,43 @@
 geAPIURL%7D/images
+/$%7BimageID%7D
 %60, body);%0A    %7D;

Update method to update specific image record