Skip to content

Commit

Permalink
Fixed JWTMiddleware target dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkleveter committed Apr 19, 2018
1 parent 6d68c57 commit 0410ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
],
targets: [
.target(name: "JWTAuthenticatable", dependencies: ["Vapor", "Authentication", "JWTVapor", "VaporRequestStorage"]),
.target(name: "JWTMiddleware", dependencies: ["Vapor", "Authentication", "JWTVapor"]),
.target(name: "JWTMiddleware", dependencies: ["Vapor", "Authentication", "JWTVapor", "JWTAuthenticatable"]),
.testTarget(name: "JWTMiddlewareTests", dependencies: ["JWTMiddleware"])
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Handles authentication and authorization of models through JWT tokens by themsel
Add this line to your manifest's `dependencies` array:

```swift
.package(url: "https://github.com/skelpo/JWTMiddleware.git", from: "0.2.0")
.package(url: "https://github.com/skelpo/JWTMiddleware.git", from: "0.2.1")
```

And add `JWTMiddleware` to all the target dependency arrays you want to access the package in.
Expand Down

0 comments on commit 0410ae7

Please sign in to comment.