feat: WEB-210 Updated nexjs plugin

This commit is contained in:
Hrishikesh Vaipurkar
2024-06-24 15:20:42 +02:00
parent fd64ffadb9
commit b5636774ef
2 changed files with 2 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { env } from "@/env/server"
export default function encryptValue(originalString: string) {
let result = ""
console.log(process.env.NODE_OPTIONS)
console.log("Node_Options: ", process.env.NODE_OPTIONS)
try {
const encryptionKey = env.BOOKING_ENCRYPTION_KEY
const bufferKey = Buffer.from(encryptionKey, "utf8")
@@ -18,7 +18,6 @@ export default function encryptValue(originalString: string) {
cipher.final()
} catch (e) {
console.log(e)
result = "error"
}
return result
}