These are chat archives for dreid93/urequest

3rd
Apr 2015
Chris Ouellet
@chris-ouellet
Apr 03 2015 21:56
create: (params, res) ->
console.log params
models.Contract.create(params)
.success (contract)->
res.sendStatus 200
.error (error)->
res.send(error)
,
create: (params, res) ->
        console.log params
        models.Contract.create(params)
        .success (contract)->
            res.sendStatus 200
        .error (error)->
            res.send(error)
{ UserId: '7', ProviderId: '1', status: 'open' }