diaseu 3 лет назад
Родитель
Сommit
802cc13fa3

+ 1
- 0
backend/lib/models/authentication.js Просмотреть файл

@@ -8,6 +8,7 @@ module.exports = class userAuth extends Schwifty.Model {
8 8
     static get joiSchema() {
9 9
         return Joi.object({
10 10
             user_email: Joi.string().required(),
11
+            created_at: Joi.date().required(),
11 12
             token: Joi.string().required()
12 13
         })
13 14
     }

+ 0
- 0
backend/lib/routes/user/authentication.js Просмотреть файл


+ 0
- 1
backend/lib/schemas/authentication.js Просмотреть файл

@@ -5,7 +5,6 @@ const Joi = require('joi')
5 5
 const userAuth = Joi.object({
6 6
     user_email: Joi.string(),
7 7
     created_at: Joi.date(),
8
-    updated_at: Joi.date(),
9 8
     token: Joi.string()
10 9
 }).label('user_auth')
11 10
 

Загрузка…
Отмена
Сохранить