Skip to content

Commit

Permalink
Merge f6b15e9 into 298b5bd
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellmorten committed Mar 30, 2018
2 parents 298b5bd + f6b15e9 commit eefee29
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions lib/actions/getMeta-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ test.after((t) => {

// Tests

test('should exist', (t) => {
t.is(typeof getMeta, 'function')
})

test('should get metadata for source', async (t) => {
nock('http://api1.test')
.get('/database/meta%3Astore')
Expand Down
2 changes: 1 addition & 1 deletion lib/actions/getMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const prepareMeta = (keys, meta) => (keys)

const sendMetaRequest = async (source, params, endpoint, ident, sourceId) => {
const request = {
action: 'GET_META',
action: 'GET',
params,
endpoint,
access: {ident}
Expand Down
2 changes: 1 addition & 1 deletion lib/actions/getUnmapped.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function getUnmapped ({payload, ident}, {getSource} = {}) {
debug('GET_UNMAPPED: Fetch from source %s at %s', source.id, endpointDebug)

const request = {
action: 'GET_UNMAPPED',
action: 'GET',
endpoint,
params: {type, id, ...params},
access: {ident}
Expand Down
2 changes: 1 addition & 1 deletion lib/actions/setMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function setMeta ({payload, ident}, {getSource}) {
meta, source.id, metaSource.id, endpointDebug)

const request = {
action: 'SET_META',
action: 'SET',
endpoint,
params: {keys: Object.keys(meta), type, id},
data: {id, type, attributes: meta},
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": "integreat",
"version": "0.6.1",
"version": "0.6.2",
"description": "Node.js integration layer",
"author": "Kjell-Morten Bratsberg Thorsen <post@kjellmorten.no> (http://kjellmorten.no/)",
"license": "ISC",
Expand Down

0 comments on commit eefee29

Please sign in to comment.