Hi There !
Trying my first plugin… simple question, how to return data?
Not working…
Action Server Side.
My code…
async function(properties, context) {
const crypto = require(‘crypto’);
const secret = ‘’;
var text = ‘Ola’;
const hash = crypto.createHash(‘sha256’, secret).update(text).digest(‘hex’);
console.log(hash);
return {
hash: properties.hash
};
}
