Skip to content

Commit

Permalink
Merge pull request #16 from Joebayld/master
Browse files Browse the repository at this point in the history
BasicJWTAuthenticatable.usernameKey is now WritableKeyPath
  • Loading branch information
proggeramlug authored Oct 16, 2018
2 parents 6c8a35c + 5af4976 commit 696b3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JWTAuthenticatable/BasicJWTAuthenticatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public protocol BasicJWTAuthenticatable: JWTAuthenticatable where AuthBody == Ba
/// that is used to authenticate the
/// model. This is probably `username`
/// or `email`.
static var usernameKey: KeyPath<Self, String> { get }
static var usernameKey: WritableKeyPath<Self, String> { get }

/// A string that is used with the
/// property of the `usernameKey`
Expand Down

0 comments on commit 696b3ea

Please sign in to comment.