I’m trying to use monday.storage.setItem
on the server side (like you can in client-side code), but monday.storage
is not present.
How do I achieve something like this?
const monday: mondaySdk.MondayServerSdk = mondaySdk({ token: shortLivedToken, apiVersion: '2023-10' });
monday.storage.setItem(key, JSON.stringify(payload)).then(() => {
// ^^^^^^^
// missing, so won't work on server-side
console.log('
item view configuration saved to storage ');
});