From 455b2d646bd11937e7c90e348727507aa5712e4c Mon Sep 17 00:00:00 2001 From: Caleb Kleveter Date: Wed, 9 May 2018 11:46:46 -0500 Subject: [PATCH] Conformed JWTAuthenticatable protocol to Model protocol --- Sources/JWTAuthenticatable/JWTAuthenticatable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/JWTAuthenticatable/JWTAuthenticatable.swift b/Sources/JWTAuthenticatable/JWTAuthenticatable.swift index b62fbce..4ebfbef 100644 --- a/Sources/JWTAuthenticatable/JWTAuthenticatable.swift +++ b/Sources/JWTAuthenticatable/JWTAuthenticatable.swift @@ -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.