diff --git a/iOS/Layover/Layover/Network/EndPoint/Factories/LoginEndPointFactory.swift b/iOS/Layover/Layover/Network/EndPoint/Factories/LoginEndPointFactory.swift index 1d1b2bc..e511af7 100644 --- a/iOS/Layover/Layover/Network/EndPoint/Factories/LoginEndPointFactory.swift +++ b/iOS/Layover/Layover/Network/EndPoint/Factories/LoginEndPointFactory.swift @@ -29,13 +29,10 @@ struct DefaultLoginEndPointFactory: LoginEndPointFactory { } func makeTokenRefreshEndPoint(with refreshToken: String) -> EndPoint> { - var bodyParameters = [String: String]() - bodyParameters.updateValue(refreshToken, forKey: "refreshToken") - return EndPoint( path: "/oauth/refresh-token", method: .POST, - bodyParameters: bodyParameters + headers: ["Content-Type": "application/json", "Authorization": "Bearer \(refreshToken)"] ) }