Skip to content

Commit

Permalink
Fix: ChannelLog mask variable (#463)
Browse files Browse the repository at this point in the history
* fix: channel log mask variable

* Update WENI-CHANGELOG.md
  • Loading branch information
paulobernardoaf authored Dec 29, 2023
1 parent e32cdf6 commit 3d0193a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions WENI-CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.7.12-rapidpro-7.5.91
----------
* Fix: ChannelLog mask variable

1.7.11-rapidpro-7.5.91
----------
* Fix: Update floweditor manifest import
Expand Down
2 changes: 1 addition & 1 deletion temba/channels/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ def _get_display_value(self, user, original, redact_keys=(), redact_values=()):
secrets = [settings.WHATSAPP_ADMIN_SYSTEM_USER_TOKEN]
for secret in secrets:
if secret and original:
original = redact.text(original, secret, mask)
original = redact.text(original, secret, HTTPLog.REDACT_MASK)

from temba.request_logs.models import HTTPLog

Expand Down

0 comments on commit 3d0193a

Please sign in to comment.