Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #13 from CatalystCode/save-remove-locations-resolver
Browse files Browse the repository at this point in the history
Implement {save,remove}Locations resolver
  • Loading branch information
c-w committed Jun 29, 2017
2 parents 84797a0 + 3e57727 commit 410bd8a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/resolvers-cassandra/Edges.js
@@ -1,7 +1,7 @@
'use strict';

module.exports = {
// ---------------------------------------------------------------------------------- mutations
// ---------------------------------------------------------------------------------- mutations

removeKeywords(args, res){ // eslint-disable-line no-unused-vars
},
Expand All @@ -10,12 +10,26 @@ module.exports = {
},

saveLocations(args, res){ // eslint-disable-line no-unused-vars
return new Promise((resolve, reject) => { // eslint-disable-line no-unused-vars
reject(
'This API call is no longer supported. ' +
'We now automatically filter events down to only those ' +
'locations defined in the geo-fence for your site'
);
});
},

removeLocations(args, res){ // eslint-disable-line no-unused-vars
return new Promise((resolve, reject) => { // eslint-disable-line no-unused-vars
reject(
'This API call is no longer supported. ' +
'We now automatically filter events down to only those ' +
'locations defined in the geo-fence for your site'
);
});
},

// ------------------------------------------------------------------------------------ queries
// ------------------------------------------------------------------------------------ queries

terms(args, res){ // eslint-disable-line no-unused-vars
},
Expand Down

0 comments on commit 410bd8a

Please sign in to comment.