From 0e9ac2104516d968f8f4970c176e81a42dbb596b Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Thu, 23 Jul 2015 13:39:25 -0700 Subject: [PATCH] Fix insertion of title identifier in availability URL Signed-off-by: Jeff Davis --- src/od_api.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/od_api.coffee b/src/od_api.coffee index 4968c80..7811f4c 100644 --- a/src/od_api.coffee +++ b/src/od_api.coffee @@ -351,7 +351,7 @@ define [ url = if (alink = session.links.availability?.href) - alink.replace '{crId}', x.id # Use this link if logged in + alink.replace '{reserveId}', x.id # Use this link if logged in else "#{session.links.products.href}/#{x.id}/availability" -- 2.11.0