Created
November 23, 2016 21:37
-
-
Save wesmaldonado/35895f9ad375bdb4a4b9259077e7d712 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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