Added a quick start guide for new users

This commit is contained in:
Vladyslav Matsiiako
2022-12-03 23:23:32 -05:00
parent 57762ab73c
commit 20d8d255cb
5 changed files with 222 additions and 62 deletions
@@ -2,13 +2,13 @@ import SecurityClient from "~/utilities/SecurityClient";
/**
* This route lets us get all the users in an org.
* @param {*} req
* @param {*} res
* @param {object} obj
* @param {string} obj.orgId - organization Id
* @returns
*/
const getOrganizationUsers = (req, res) => {
const getOrganizationUsers = ({ orgId }) => {
return SecurityClient.fetchCall(
"/api/v1/organization/" + req.orgId + "/users",
"/api/v1/organization/" + orgId + "/users",
{
method: "GET",
headers: {