console log cleanup
This commit is contained in:
@@ -38,7 +38,7 @@ export default async function ApiProxy(req, res) {
|
||||
azureHeadersPaged(token.access_token)
|
||||
)
|
||||
.then(({ data }) => {
|
||||
console.log(data);
|
||||
//console.log(data);
|
||||
res.status(200).json(data);
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
@@ -17,11 +17,11 @@ ApiProxy.get(async (req, res) => {
|
||||
var checkquerypath =
|
||||
"/api/file/getawaitingsubmissionfromblob?container=" + containerName;
|
||||
|
||||
console.log(
|
||||
"///////////////////////\ngetawaitingsubmissionblob url :",
|
||||
req.url,
|
||||
"\n///////////////////////\n"
|
||||
);
|
||||
// console.log(
|
||||
// "///////////////////////\ngetawaitingsubmissionblob url :",
|
||||
// req.url,
|
||||
// "\n///////////////////////\n"
|
||||
// );
|
||||
// console.log(hashAPIPath(checkquerypath), checkHash);
|
||||
//console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
let loggedInUser = cookies.pinsUser;
|
||||
|
||||
let thisSession = await getSession(ctx);
|
||||
console.log("nextAuth Session:", thisSession);
|
||||
//console.log("nextAuth Session:", thisSession);
|
||||
|
||||
let loggedInUserIdent = thisSession.user.id;
|
||||
let loggedInUserEmail = thisSession.user.email;
|
||||
|
||||
@@ -139,7 +139,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
|
||||
console.log("/newappeal - cookies ", cookies);
|
||||
let thisSession = await getSession(ctx);
|
||||
console.log("nextAuth Session:", thisSession);
|
||||
//console.log("nextAuth Session:", thisSession);
|
||||
|
||||
if (_.has(thisSession, "user") == false) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user