Skip to content

Commit

Permalink
[fix] lockの表記方法のミスを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Mar 15, 2021
1 parent b243a94 commit 57b88d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/api/core/group/connection/v0/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func changeText(before, after core.Connection) string {

if after.Lock != nil {
if *before.Lock != *after.Lock {
if *after.Lock {
if !*after.Lock {
data += "ユーザ変更: 禁止 => 許可\n"
} else {
data += "ユーザ変更: 許可 => 禁止\n"
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/core/group/v0/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func changeText(before, after core.Group) string {
}

if after.Lock != nil {
if *before.Lock != *after.Lock {
if !*before.Lock != *after.Lock {
if *after.Lock {
data += "ユーザ変更: 禁止 => 許可\n"
} else {
Expand Down

0 comments on commit 57b88d2

Please sign in to comment.