We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, it is unclear to me what the done function is here. Maybe I missed it… I can't find it in the documentation.
done
https://github.com/shipharbor/merry#handler--appstart
function handleRoute (req, res, ctx, done) { done(null, 'hello planet') }
Thanks. I like your API a lot in this project.
The text was updated successfully, but these errors were encountered:
ooooo! thanks for this! this is a bug in documentation and is what's left over from a previous version of the API. This should read:
function handleRoute (req, res, ctx) { ctx.send(200, { message: 'hello planet' }) }
or something of the sort. e.g. there is no more done and you'd just send with ctx.send or res.end().
ctx.send
res.end()
Sorry, something went wrong.
No branches or pull requests
Hi, it is unclear to me what the
done
function is here. Maybe I missed it… I can't find it in the documentation.https://github.com/shipharbor/merry#handler--appstart
Thanks. I like your API a lot in this project.
The text was updated successfully, but these errors were encountered: