Changed a few more logging statements
This commit is contained in:
@@ -3,7 +3,7 @@ import fetchEbayReadToken from "../utils/fetchEbayReadToken.js"; // Adjust the i
|
||||
import { LoggingLevel, smartLogging } from "../utils/helper.js";
|
||||
|
||||
export const itemLookup = async (req, res) => {
|
||||
smartLogging(LoggingLevel.Debug, ``)
|
||||
smartLogging(LoggingLevel.Debug, `dataController.itemLookup()`);
|
||||
const productCode = req.query.productCode;
|
||||
let oauthToken;
|
||||
try{
|
||||
@@ -11,7 +11,7 @@ export const itemLookup = async (req, res) => {
|
||||
}catch(e){
|
||||
smartLogging(LoggingLevel.Error, `Error Getting eBay Token: ${e}`);
|
||||
}
|
||||
// console.log(productCode);
|
||||
|
||||
smartLogging(LoggingLevel.Logging, `Product Code: ${productCode}`);
|
||||
try {
|
||||
const response = await fetch(
|
||||
|
||||
Reference in New Issue
Block a user