1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Add basic api unit. This unit will be responsible for providing all stf restful apis.

This commit is contained in:
Vishal Banthia 2015-12-02 18:18:31 +09:00
parent 7ea7871ec0
commit 41f306a7f0
7 changed files with 172 additions and 0 deletions

View file

@ -0,0 +1,10 @@
module.exports = {
getCurrentUser: getCurrentUser
};
function getCurrentUser(req, res) {
res.json({
success: true
, user: {"name": "dummy"}
})
}