ok i’ve found the solution. your post gave me some ideas.
since im running it as a migration script, it will only run once.
thus:
await pluginStore.set({ key: 'grant', value: { ...prevGrantConfig, ...grantConfig } });
ok i’ve found the solution. your post gave me some ideas.
since im running it as a migration script, it will only run once.
thus:
await pluginStore.set({ key: 'grant', value: { ...prevGrantConfig, ...grantConfig } });