* Centralized error throwing for encryption key
* Unifying the error message used by cli and core packages
* Improvements to error messages to make it more DRY
* Removed unnecessary throw
* Throwing error when credential does not exist to simplify node behavior (#3112)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* Wordpress: Add status to getAll: post
* Fix status name used in query string
* Alphabetically order options for getAll: post
* 🐛 Fixed pagination issue when there is no posts for the status
* ✨ Updated password field to use a password type
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
* Potential fix for Wordpress API only returning the first 10 items on `wordpressApiRequestAllItems` calls
* ⚡ Small improvement to #2097
* ⚡ Change back pagination value
Co-authored-by: Jonathan <jonathan.bennetts@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Changes to types so that credentials can be always loaded from DB
This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.
This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.
* Fix updated files
* Removed unnecessary credential loading to improve performance
* Fix typo
* ⚡ Fix issue
* Updated new nodes to load credentials async
* ⚡ Remove not needed comment
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>