Fixed bug when app was unable to parse response from canTermBeChanged api call

This commit is contained in:
Eugene Zadyra
2018-12-10 16:37:43 +01:00
parent b178c68eaa
commit c9369443a7
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ object LuxmedApi extends ApiBase {
val request = http(s"visits/reserved/$reservationId/can-term-be-changed").
header(`Content-Type`, "application/json").
header(Authorization, s"$tokenType $accessToken")
get(request)
request.toEither
}
def detailToChangeTerm(accessToken: String, tokenType: String, reservationId: Long): Either[Throwable, ChangeTermDetailsResponse] = {