Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update rest api endpoints.#3

Open
roeepolegfiverr wants to merge 5 commits into
master from
rest_return_values
Open

Update rest api endpoints. #3
roeepolegfiverr wants to merge 5 commits into
master from
rest_return_values

Conversation

@roeepolegfiverr

@roeepolegfiverr roeepolegfiverr commented Mar 17, 2016

Copy link
Copy Markdown
Contributor

Update rest api endpoints.

Comment thread controllers/serverController.js Outdated
take: function (req, res) {
try {
module.exports.take(req.body, function(env) { res.json(env); });
module.exports.take(req.body, function(env) {

@ArkadyFukzon ArkadyFukzon Mar 21, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract this into a method and call it with res as a param in all places

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /