jhanos
(Jhanos)
1
Hello,
I try to finish my plugin development, everything run correctly in online mode, but in “sync mode” i am unable to request the datastore
For example with:
var info = await datastore.get('data');
console.log(info)
I received an error about “e.join is not a function”.
Is datastore available on sync mode?
zef
(Zef Hemel)
2
Err. This shouldn’t work in online mode either. Keys for the data store are arrays not strings: datastore.get(["key"])
jhanos
(Jhanos)
3
many thanks with your answer i was able to fix my plugin in sync mode.