added user csv data

This commit is contained in:
2021-08-24 11:59:13 +05:30
parent 6342916ec1
commit 65ae0f23cc
10 changed files with 16 additions and 16 deletions

View File

@ -56,14 +56,14 @@ const TheContent = () => {
}
async function fetchUser() {
console.log(SsoSession)
//console.log(SsoSession)
const user_email = SsoSession.attributes[0].values[0]
//console.log(user_email);
const company_code = "FBS";
const key = "api"
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
const result = await axios.get('https://fsbsso.sumasen.net/users?email=akira.miyata@mobilous.com', {
const result = await axios.get('https://fsbsso.sumasen.net/users?email=' + user_email, {
auth: {
username: key,
password: pwd