Hello n8n community,
I need some help regarding codebase, There is a case where I need to update a credentials from a node.
My Case: I have access token in my database (credentials entity) and it can expire after few days but I can programmatically generate a new token (with the help of some other parameters) I want to save new token in credentials entity.
This is what I tried:
getCredentials I tried adding a method
updateCredentials in NodeExecuteFunctions.ts, but seems like we don’t have DB access in core package.
Can anyone please guide me, how to do this ? Any code pointers I can follow ? I just need to update credentials from my node