Merge pull request #164 from strongloop/feature/fix-accesstoken-id

Remove the generated flag for access token id
This commit is contained in:
Raymond Feng 2014-01-30 09:09:02 -08:00
commit 6177aa2775
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ var Model = require('../loopback').Model
*/
var properties = {
id: {type: String, generated: true, id: 1},
id: {type: String, id: true},
ttl: {type: Number, ttl: true, default: DEFAULT_TTL}, // time to live in seconds
created: {type: Date, default: function() {
return new Date();