-
-
Notifications
You must be signed in to change notification settings - Fork 34
Request has no member 'hasSession' #67
Comments
also even after package update I'm still having Auth 2.0.2 |
@ezisxl this should be fixed by 2.0.3 but basically you need to update the core Vapor framework. If |
Package.swift |
@ezisxl did you run |
same :/ - it pulls 2.0.2 |
Can you post your full Package.swift? |
|
Change your |
thx! that solved it |
did "swift package update"
swift 5, vapor toolbox 3.1.10
getting:
/private/tmp/.../.build/checkouts/auth/Sources/Authentication/Persist/SessionAuthenticatable.swift:44:19: error: value of type 'Request' has no member 'hasSession'; did you mean 'session'? guard try self.hasSession() else { ^~~~ ~~~~~~~~~~ session Vapor.Request:2:17: note: 'session' declared here public func session() throws -> Vapor.Session
The text was updated successfully, but these errors were encountered: