Skip to content

Commit ff4b476

Browse files
committed
revert change to slack update profile action
instead update slack v2 update profile action
1 parent 8d72c9d commit ff4b476

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/slack/actions/update-profile/update-profile.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export default {
7272
&& !this.phone
7373
&& !this.pronouns
7474
&& !this.title
75-
&& !this.email
7675
) {
7776
throw new ConfigurationError("Please provide at least one value to update");
7877
}
@@ -84,7 +83,6 @@ export default {
8483
phone: this.phone,
8584
pronouns: this.pronouns,
8685
title: this.title,
87-
email: this.email,
8886
},
8987
user: this.user,
9088
});

components/slack_v2/actions/update-profile/update-profile.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default {
7272
&& !this.phone
7373
&& !this.pronouns
7474
&& !this.title
75+
&& !this.email
7576
) {
7677
throw new ConfigurationError("Please provide at least one value to update");
7778
}
@@ -83,6 +84,7 @@ export default {
8384
phone: this.phone,
8485
pronouns: this.pronouns,
8586
title: this.title,
87+
email: this.email,
8688
},
8789
user: this.user,
8890
});

0 commit comments

Comments
 (0)