Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
Fix the requires in the examples of README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
SydneyUni-Jim committed Aug 7, 2017
1 parent de22e71 commit a0a4fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The following Node.js v8 script prints the entries in the Patron Type table.
```javascript
'use strict'

const sierraApi = require('.').v4
const sierraApi = require('@sydneyunilibrary/sierra-api-as-promised').v4

async function printPatronTypes() {
let metadataArray = await sierraApi.patrons.getMetadata({ fields: 'patronType' })
Expand Down Expand Up @@ -76,7 +76,7 @@ So that this example is not too long and complicated, it only exports the first
```javascript
'use strict'

const sierraApi = require('.').v4
const sierraApi = require('@sydneyunilibrary/sierra-api-as-promised').v4


async function findAndExportPatrons() {
Expand Down

0 comments on commit a0a4fc4

Please sign in to comment.