mirror of
https://github.com/dyrkin/luxmed-bot.git
synced 2025-12-30 17:47:26 +01:00
Fixed bug when app was unable to parse response from canTermBeChanged api call
This commit is contained in:
@@ -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] = {
|
||||
|
||||
Reference in New Issue
Block a user