forked from sagi/seepur
uuid import update
This commit is contained in:
parent
f453eb8d34
commit
b8aa0de4da
2 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,7 @@ const Book = use('App/Models/Book');
|
||||||
|
|
||||||
const FileUtils = use('App/Utils/FileUtils');
|
const FileUtils = use('App/Utils/FileUtils');
|
||||||
const UserChildUtils = use('App/Utils/UserChildUtils');
|
const UserChildUtils = use('App/Utils/UserChildUtils');
|
||||||
const uuidv4 = require('uuid').v4;
|
const {v4: uuidv4} = require('uuid');
|
||||||
|
|
||||||
class ClientApiController {
|
class ClientApiController {
|
||||||
async getUser({auth}) {
|
async getUser({auth}) {
|
||||||
const user = auth.user.toJSON();
|
const user = auth.user.toJSON();
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
|
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
|
||||||
const Model = use('Model')
|
const Model = use('Model')
|
||||||
const uuidv4 = require('uuid').v4;
|
const {v4: uuidv4} = require('uuid');
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
|
|
||||||
class IceServer extends Model {
|
class IceServer extends Model {
|
||||||
|
|
Loading…
Reference in a new issue