plain-keyboard-29627
01/06/2023, 10:06 PMcreate
and update
methods, but wanted to make sure they were safe (e.g. will be stored encrypted) to return as results. If I passed config.requireSecret('mySecretKey')
as an argument to my provider, is it safe to set outs
like this?
async update(id, olds, news) {
await this.createOrUpdate(olds, news); // internal, implementation doesn't matter
return { outs: news };
}
echoing-dinner-19531
01/07/2023, 12:36 PM