Commit graph

8 commits

Author SHA1 Message Date
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* 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>
2021-08-20 18:57:30 +02:00
Iván Ovejero 597305945f
Add customer resource to WooCommerce node (#2031) 2021-08-01 21:33:21 +02:00
Ricardo Espinoza 07ed360f8f
Reuse webhook if one exists - Woocommerce Trigger (#1196) 2020-11-20 16:56:51 +01:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser fe802c8f76 👕 Fix built issue by fixing lint issues 2020-10-01 15:18:47 +02:00
Jan Oberhauser 698a69207c Small improvements on WooCommerce-Node 2020-02-25 11:01:13 +01:00
Jan Oberhauser fe9170e62f Minor WooCommerceTrigger-Node improvements 2020-01-29 20:06:47 -08:00
Ricardo Espinoza f9902e8be4 WooCommerce trigger 2020-01-29 20:53:01 -05:00