import Request from "superagent";

export const find = () => (
    Request.get(`/api/hmms${window.location.search}`)
);

export const install = () => (
    Request.patch("/api/hmms/install")
);

export const get = ({ hmmId }) => (
    Request.get(`/api/hmms/${hmmId}`)
);

import Request from "superagent";

export const find = () => (
    Request.get(`/api/hmms${window.location.search}`)
);

export const install = () => (
    Request.post("/api/status/hmm")
);

export const get = ({ hmmId }) => (
    Request.get(`/api/hmms/${hmmId}`)
);

Update client API call for HMM install
Update client API call for HMM install