Skip to content

Commit

Permalink
remove spaces from oauth scope lists - closes lichess-org/api#260
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 23, 2023
1 parent 450dd8e commit f732460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/oauth/src/main/OAuthScope.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object OAuthScopes extends TotalWrapper[OAuthScopes, List[OAuthScope]]:
extension (e: OAuthScopes)
def has(s: OAuthScope): Boolean = e contains s
def has(s: OAuthScope.Selector): Boolean = has(s(OAuthScope))
def keyList: String = e.map(_.key) mkString ", "
def keyList: String = e.map(_.key) mkString ","
def intersects(other: OAuthScopes): Boolean = e.exists(other.has)
def isEmpty = e.isEmpty

Expand Down

0 comments on commit f732460

Please sign in to comment.