Skip to content

Commit 696b3ea

Browse files
authored
Merge pull request #16 from Joebayld/master
BasicJWTAuthenticatable.usernameKey is now WritableKeyPath
2 parents 6c8a35c + 5af4976 commit 696b3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JWTAuthenticatable/BasicJWTAuthenticatable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public protocol BasicJWTAuthenticatable: JWTAuthenticatable where AuthBody == Ba
5252
/// that is used to authenticate the
5353
/// model. This is probably `username`
5454
/// or `email`.
55-
static var usernameKey: KeyPath<Self, String> { get }
55+
static var usernameKey: WritableKeyPath<Self, String> { get }
5656

5757
/// A string that is used with the
5858
/// property of the `usernameKey`

0 commit comments

Comments
 (0)