feat: WEB-210 Updated nexjs plugin
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user