Skip to content

Commit

Permalink
fix: remove repeat PermSign
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Jun 5, 2023
1 parent c7cb861 commit 995a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
)

var PermArr = []Permission{
PermRead, PermWrite, PermSign, PermAdmin, PermSign,
PermRead, PermWrite, PermSign, PermAdmin,
}

func IsValid(perm Permission) bool {
Expand Down

0 comments on commit 995a09c

Please sign in to comment.