minor bugs en account

This commit is contained in:
Javi Gallego 2018-03-12 12:07:55 +01:00
parent 9c487cc31c
commit dcf45f014c
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = function(Self) {
let user = {
name: data.userName,
email: firstEmail,
password: md5(parseInt(Math.random() * 100000000000000))
password: parseInt(Math.random() * 100000000000000)
};
let Account = Self.app.models.Account;

View File

@ -9,6 +9,7 @@
"properties": {
"id": {
"type": "number",
"id": true,
"required": true
},
"name": {