diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 6ecd4476..2aa3e827 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -350,7 +350,9 @@ class Mediator { console.error('Unknown Device', error) return false } - + if(typeof data === 'string'){ + data = JSON.parse(data) + } console.log('Event:', eventName) console.log('Data:', data) console.log('Decrypt params:', {