Skip to content

Commit

Permalink
SMS-6589: Log Redaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshkumar-plivo committed Jan 25, 2024
1 parent 4a5a566 commit 02e83be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plivo/resources/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Messages(PlivoResourceInterface):
optional(all_of(of_type(six.text_type), is_in(('sms', 'mms', 'whatsapp'))))],
url=[optional(is_url())],
method=[optional(of_type(six.text_type))],
log=[optional(of_type_exact(bool))],
log=[optional(of_type_exact(str))],
trackable=[optional(of_type_exact(bool))],
powerpack_uuid=[optional(of_type(six.text_type))],
media_urls=[optional(of_type_exact(list))],
Expand All @@ -53,7 +53,7 @@ def create(self,
type_='sms',
url=None,
method='POST',
log=True,
log="true",
trackable=False,
powerpack_uuid=None,
media_urls=None,
Expand Down

0 comments on commit 02e83be

Please sign in to comment.