Datastore available in sync mode

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?

Err. This shouldn’t work in online mode either. Keys for the data store are arrays not strings: datastore.get(["key"])

many thanks with your answer i was able to fix my plugin in sync mode.