mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
"typeId" fields replaced by "databaseId".
This commit is contained in:
@@ -65,8 +65,8 @@ class Customer extends Model {
|
||||
? Relay::toGlobalId( 'customer', $this->data->get_id() )
|
||||
: 'new_customer';
|
||||
},
|
||||
'customerId' => function() {
|
||||
return ( ! empty( $this->data->get_id() ) ) ? $this->data->get_id() : null;
|
||||
'databaseId' => function() {
|
||||
return $this->ID;
|
||||
},
|
||||
'isVatExempt' => function() {
|
||||
return ! is_null( $this->data->get_is_vat_exempt() ) ? $this->data->get_is_vat_exempt() : null;
|
||||
|
||||
Reference in New Issue
Block a user