Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from nodes-vapor/feature/capitalize-URL
Browse files Browse the repository at this point in the history
Use consistent capitalization of URL
  • Loading branch information
siemensikkema authored Sep 4, 2018
2 parents 7ad6c30 + 7aff268 commit ac0178a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/NodesSSO/NodesSSOController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Vapor
public struct AuthenticatedUser {
public let email: String
public let name: String
public let imageUrl: String?
public let imageURL: String?
}

public protocol NodesSSOAuthenticatable {
Expand All @@ -26,7 +26,7 @@ internal final class NodesSSOController<U: NodesSSOAuthenticatable> {
let user = AuthenticatedUser(
email: "autogenerated@like.st",
name: "Autogenerated Test User",
imageUrl: nil
imageURL: nil
)
return U.authenticated(user, req: req)
}
Expand All @@ -49,7 +49,7 @@ internal final class NodesSSOController<U: NodesSSOAuthenticatable> {
let user = AuthenticatedUser(
email: callback.email,
name: callback.name,
imageUrl: callback.image
imageURL: callback.image
)
return U.authenticated(user, req: req)
}
Expand Down

0 comments on commit ac0178a

Please sign in to comment.