Skip to content

Commit 46fd056

Browse files
committed
remove bad console logs
1 parent ad57087 commit 46fd056

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

backend/src/api/application/applicationCreate.ts

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ export async function applicationCreate(req: Request, res: Response, prisma: Pri
1212
if (!req.body.applicationInfo) throw Error("Application Info not present");
1313
const { appUId, appName, appDomain } = req.body.applicationInfo as ApplicationInfo;
1414

15-
console.log(appUId, appName, appDomain);
16-
console.log(prisma.application);
1715
const app = await prisma.application
1816
.create({
1917
data: {

backend/src/api/validate/validateApplication.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ export async function validateApplicationToken(
4343
issuer: serverUrl,
4444
algorithms: ["ES256"],
4545
});
46-
47-
console.log("payload: ", payload);
48-
console.log("protectedHeader: ", protectedHeader);
49-
46+
5047
res.locals.payload = payload;
5148
return next();
5249
} catch (error: any) {

backend/src/crypto/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export async function initCryptoTest(algorithm = "ES256") {
3939
const keyPairs: GenerateKeyPairResult<KeyLike> = await generateKeyPair(
4040
algorithm
4141
);
42-
console.log(keyPairs);
43-
console.log("init crypto test");
4442
cryptoService = new CryptoService(keyPairs.privateKey, keyPairs.publicKey);
4543
}
4644

0 commit comments

Comments
 (0)