11 lines
217 B
JavaScript
11 lines
217 B
JavaScript
|
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)
|
||
|
}
|