Skip to content

Commit

Permalink
new stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Spaeth authored and Craig Spaeth committed May 4, 2015
1 parent 18062b2 commit 5d6d222
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions node/fabricate.coffee
Expand Up @@ -330,6 +330,7 @@ module.exports = fabricate = (type, extObj = {}) ->
"last 60 days": 0.22

when 'show'
_id: '4d8cd73191a5c50ce210002a'
id: 'gagosian-gallery-inez-and-vinoodh' + _.uniqueId()
partner: fabricate 'partner'
fair: null
Expand Down
3 changes: 3 additions & 0 deletions node/server.coffee
Expand Up @@ -175,6 +175,9 @@ gravity.get '/api/v1/user/:id', (req, res) ->
gravity.get '/api/v1/user/:id/access_controls', (req, res) ->
res.send [fabricate 'access_control']

gravity.get '/api/v1/show/:id', (req, res) ->
res.send fabricate 'show'

#
# API V2 -----------------------------------------------------------------------
#
Expand Down

0 comments on commit 5d6d222

Please sign in to comment.