feat: fix users API.

This commit is contained in:
Ahmed Bouhuolia
2020-05-02 23:23:01 +02:00
parent 7832789a03
commit a807cf6bb8
3 changed files with 121 additions and 115 deletions

View File

@@ -1,9 +1,9 @@
import bcrypt from 'bcryptjs';
import { Model } from 'objection';
import BaseModel from '@/models/Model';
import TenantModel from '@/models/TenantModel';
// import PermissionsService from '@/services/PermissionsService';
export default class TenantUser extends BaseModel {
export default class TenantUser extends TenantModel {
// ...PermissionsService
static get virtualAttributes() {