Skip to content

Commit af1c597

Browse files
Updating Key Collections (#164)
Fixed an issue where the key collection couldn't actually be changed
1 parent ec5a9d4 commit af1c597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JWT/Application+JWT.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extension Application {
4242

4343
public var keys: JWTKeyCollection {
4444
get { self.storage.keys }
45-
set { self.storage.keys = newValue }
45+
nonmutating set { self.storage.keys = newValue }
4646
}
4747

4848
private var storage: Storage {

0 commit comments

Comments
 (0)