There seems to be a bug right in @mondaycom/apps-sdk? We’re using the new Storage with an oauth access token to fetch a data that is in monday.storage.
The data is stored in a custom item view app. Sample code below:
await monday.storage.setItem(
transactionConfigKey,
JSON.stringify({
boardId: board1Id,
columns: paymentColumns,
schemaVersion: CURRENT_SCHEMA_VERSION,
}),
);
Then in the back end, we fetch using the code below:
const storageGet = new Storage(mondayContext.accessToken as string)
const getTransactionConfig = await storageGet.get(
transactionConfigKey,
{ shared: true },
);
console.log('getTransactionConfig :', JSON.stringify(getTransactionConfig )
The get method should return an object with value, success, and version as fields. But as of now, only the success is returned.
Does anyone experience the same thing? Our scripts are working fine previously but just today everything broke.