remove my username

This commit is contained in:
Ethan Pippin 2022-08-19 21:40:51 -06:00
parent 848cd01551
commit 4a412f6d6f

View File

@ -232,7 +232,7 @@ public extension JellyfinClient {
/// - Throws: `ClientError.noAccessTokenInResponse` if no access token was supplied in a successful authentication response
@discardableResult
func signIn(username: String, password: String) async throws -> AuthenticationResult {
let authenticateUserRequest = Paths.authenticateUserByName(.init(password: password, pw: nil, username: "epippin"))
let authenticateUserRequest = Paths.authenticateUserByName(.init(password: password, pw: nil, username: username))
let response = try await send(authenticateUserRequest).value
if let accessToken = response.accessToken {