Skip to content

Instantly share code, notes, and snippets.

@wesmaldonado
Created November 23, 2016 21:37
Show Gist options
  • Save wesmaldonado/35895f9ad375bdb4a4b9259077e7d712 to your computer and use it in GitHub Desktop.
Save wesmaldonado/35895f9ad375bdb4a4b9259077e7d712 to your computer and use it in GitHub Desktop.
export const insert = new ValidatedMethod({
name: 'spot_bid_profiles.insert',
validate: new SpotBidProfiles.schema,
run({}) {
return SpotBidProfiles.insert({}, null, region);
},
});
export const update = new ValidatedMethod({
name: 'spot_bid_profiles.update',
validate: new SpotBidProfiles.schema,
run({}) {
return SpotBidProfiles.insert({}, null, region);
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment