@shushed/helpers 0.0.198-v2-20251107112134 → 0.0.198-v2-20251107121008
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -668,7 +668,7 @@ class EnvEngine extends runtime_1.default {
|
|
|
668
668
|
let messageBodyRaw;
|
|
669
669
|
if (typeof requestBody?.message?.data === 'string' && Buffer.from(requestBody.message.data, "base64").toString('base64') === requestBody.message.data) {
|
|
670
670
|
messageBodyRaw = Buffer.from(requestBody.message.data, "base64").toString('utf-8');
|
|
671
|
-
messageBody = Promise.resolve(messageBodyRaw).then(x => {
|
|
671
|
+
messageBody = await Promise.resolve(messageBodyRaw).then(x => {
|
|
672
672
|
return Promise.resolve(x).then(x => JSON.parse(x)).catch((_) => x);
|
|
673
673
|
});
|
|
674
674
|
}
|