Skip to content

Commit

Permalink
Simplify storage request
Browse files Browse the repository at this point in the history
  • Loading branch information
timvermeulen committed Oct 16, 2016
1 parent f0095b2 commit ed6ebf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Camille/KarmaService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ final class KarmaService: SlackMessageService {
guard maxList > 0 else { return "Top \(maxList)? You must work in QA." }

func karma(for user: String) -> Int {
return storage.get(Int.self, in: .in("Karma"), key: user, or: 0)
return storage.get(in: .in("Karma"), key: user, or: 0)
}

let users = storage.allKeys(.in("Karma"))
Expand Down

0 comments on commit ed6ebf7

Please sign in to comment.