Skip to content

Commit ee23290

Browse files
committed
Fix a bug
1 parent 460176f commit ee23290

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

slack_sdk/audit_logs/v1/logs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,7 @@ def __init__(
551551
if previous_profile is None or isinstance(previous_profile, Profile)
552552
else Profile(**previous_profile)
553553
)
554-
self.new_profile = (
555-
previous_profile if new_profile is None or isinstance(new_profile, Profile) else Profile(**new_profile)
556-
)
554+
self.new_profile = new_profile if new_profile is None or isinstance(new_profile, Profile) else Profile(**new_profile)
557555

558556

559557
class Channel:

0 commit comments

Comments
 (0)