frontend/src/api/pusher.js

11 lines
217 B
JavaScript
Raw Normal View History

import {mande} from "mande";
const pushers = mande('/api/v1/pushers')
export const ListPushers = (query) => {
return pushers.get({query:query})
}
export const AddPusher = (opt)=>{
return pushers.post(opt)
}