Skip to content

Commit

Permalink
Change environment variable to ALMA_APIKEY
Browse files Browse the repository at this point in the history
To align with OpenAPI definition
  • Loading branch information
jweisman committed Apr 29, 2019
1 parent 7e94471 commit 0da8a01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions alma.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ var xpath = require('xpath');
var dom = require('xmldom').DOMParser;
var serializer = require('xmldom').XMLSerializer;

const API_PATH = process.env.ALMA_API_PATH || 'https://api-na.hosted.exlibrisgroup.com/almaws/v1';
const API_KEY = process.env.ALMA_API_KEY;
const API_PATH = process.env.ALMA_APIPATH || 'https://api-na.hosted.exlibrisgroup.com/almaws/v1';
const API_KEY = process.env.ALMA_APIKEY;
const ALMAWS_NS = {"alma": "http://com/exlibris/urm/general/xmlbeans"};
const XPATH_ALMAWS_ERROR = '/alma:web_service_result/alma:errorList/alma:error/alma:errorMessage';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "almarestapi-lib",
"version": "1.0.3",
"version": "1.1.0",
"description": "A Node.js library for calling Ex Libris Alma REST APIs",
"main": "alma.js",
"scripts": {
Expand Down

0 comments on commit 0da8a01

Please sign in to comment.