Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Commit 1284ddc

Browse files
author
onceatime
committed
Update create.js
1 parent dc908c5 commit 1284ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blueprints/create.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = function createRecord( req, res ) {
5858
// Send JSONP-friendly response if it's supported
5959
// (HTTP 201: Created)
6060
res.status( 201 );
61-
res.ok( actionUtil.emberizeJSON( Model.identity, populatedRecord, req.options.associations, false ) );
61+
res.ok( actionUtil.emberizeJSON( Model, populatedRecord, req.options.associations, false ) );
6262

6363
} );
6464
} );

0 commit comments

Comments
 (0)