Created
March 30, 2021 22:01
-
-
Save mcnkbr/70d221978e770ef695110f6851c1c929 to your computer and use it in GitHub Desktop.
user-get/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const userService = require('../services/user'); | |
module.exports = async function (context, req) { | |
context.log('JavaScript HTTP trigger function processed a request.'); | |
context.res = { | |
status: 200, | |
body: userService.getUsers(context) | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment