Skip to content

Commit

Permalink
refactor: added null=true for unencrypted columns in model
Browse files Browse the repository at this point in the history
  • Loading branch information
MueezKhan246 committed Aug 28, 2024
1 parent 2cea266 commit 3d00290
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integrated_channels/sap_success_factors/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ class SAPSuccessFactorsEnterpriseCustomerConfiguration(EnterpriseCustomerPluginC
blank=True,
default='',
verbose_name="Client ID",
help_text=_("OAuth client identifier.")
help_text=_("OAuth client identifier."),
null=True
)

decrypted_key = EncryptedCharField(
Expand Down Expand Up @@ -142,7 +143,8 @@ def encrypted_key(self, value):
blank=True,
default='',
verbose_name="Client Secret",
help_text=_("OAuth client secret.")
help_text=_("OAuth client secret."),
null=True
)

decrypted_secret = EncryptedCharField(
Expand Down

0 comments on commit 3d00290

Please sign in to comment.