Skip to content

Commit

Permalink
refactor: remove unwanted console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlhw committed Feb 3, 2023
1 parent 15295b5 commit c980df1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pages/api/codeChallenge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function handler(
res.status(200).send({ codeChallenge: pkceCodePair.codeChallenge });
} catch (_e) {
let error = _e as Error;
console.log("Error", error);
res.status(500).send({
error: error.message,
});
Expand Down
1 change: 1 addition & 0 deletions pages/api/vc/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ export default async function handler(
headersObj,
bodyStr
);
console.log("credentialData", credentialData);
res.status(200).json({ credentialData: credentialData });
}
1 change: 0 additions & 1 deletion pages/api/vc/revocationStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default async function handler(
});
} catch (_e) {
let error = _e as Error;
console.log("Error", error);
res.status(500).send({
error: error.message,
});
Expand Down
1 change: 0 additions & 1 deletion pages/api/vc/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default async function handler(
});
} catch (_e) {
let error = _e as Error;
console.log("Error", error);
res.status(500).send({
error: error.message,
});
Expand Down

0 comments on commit c980df1

Please sign in to comment.