Skip to content

Commit

Permalink
Conformed JWTAuthenticatable protocol to Model protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkleveter committed May 9, 2018
1 parent 492adfd commit 455b2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JWTAuthenticatable/JWTAuthenticatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public protocol IdentifiableJWTPayload: JWTPayload {

/// A type that can be authenticated with some type and authorized with a JWT payload.
/// The `Payload.ID` type must be equal to the model's `ID` type.
public protocol JWTAuthenticatable: Authenticatable, Content where Payload.ID == Self.ID {
public protocol JWTAuthenticatable: Model, Authenticatable, Content where Payload.ID == Self.ID {

/// The type that the model can
/// be authenticated with.
Expand Down

0 comments on commit 455b2d6

Please sign in to comment.