Skip to content

Commit

Permalink
Updating Key Collections (#164)
Browse files Browse the repository at this point in the history
Fixed an issue where the key collection couldn't actually be changed
  • Loading branch information
dimitribouniol authored Jan 7, 2025
1 parent ec5a9d4 commit af1c597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JWT/Application+JWT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension Application {

public var keys: JWTKeyCollection {
get { self.storage.keys }
set { self.storage.keys = newValue }
nonmutating set { self.storage.keys = newValue }
}

private var storage: Storage {
Expand Down

0 comments on commit af1c597

Please sign in to comment.