Merge pull request #164 from strongloop/feature/fix-accesstoken-id
Remove the generated flag for access token id
This commit is contained in:
commit
6177aa2775
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue