Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Syncano from 'syncano-server'
- export default (ctx) => {
- const {response,data} = Syncano(ctx)
- if(ctx.args.wish){
- data.wishes.where("cryptoId", ctx.args.wish).list()
- .then(wishes=>{
- response.json({wishes})
- })
- }
- }
Add Comment
Please, Sign In to add comment