✅ – dmikester1 – 16-24 Mar 2

I am trying to figure this issue out with this json-storage library. It does not support promises. My environments variable is always coming out empty. I know its because I need to wait for storage.get somehow.
let environments = [];
    storage.get('SADT-environtments', function(error, data) {
      if (error) throw error;
      environments = JSON.parse(data.environments);
    console.log({ environments });
UUUnknown User3/3/2023
5 Messages Not Public
Sign In & Join Server To View