node_rest_api_mongo icon indicating copy to clipboard operation
node_rest_api_mongo copied to clipboard

company assigned to user in company.controller.update()

Open kleydon opened this issue 6 years ago • 0 comments

It appears that in company.controller.js's update() function, a company is being assigned to a user - see line 43: company = req.user; Wondering if this could be a bug.

BTW - Really enjoyed your blog post on error handling.

kleydon avatar Jul 16 '19 00:07 kleydon