🔥 Remove setters for clientId/secret

Those values should only be set by PHP after validating some authentication details
This commit is contained in:
Philipp Stracker 2025-01-08 15:07:37 +01:00
parent 0752436f00
commit 6167955374
No known key found for this signature in database
3 changed files with 2 additions and 44 deletions

View file

@ -22,6 +22,8 @@ const defaultTransient = Object.freeze( {
isSandbox: false,
id: '',
email: '',
clientId: '',
clientSecret: '',
} ),
wooSettings: Object.freeze( {
@ -33,8 +35,6 @@ const defaultTransient = Object.freeze( {
const defaultPersistent = Object.freeze( {
useSandbox: false,
useManualConnection: false,
clientId: '',
clientSecret: '',
webhooks: [],
} );