mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: Concurrency control items cost compute.
This commit is contained in:
@@ -90,6 +90,9 @@ export default {
|
||||
}
|
||||
const lastLoginAt = moment().format('YYYY/MM/DD HH:mm:ss');
|
||||
|
||||
const tenantDb = TenantsManager.knexInstance(user.tenant.organizationId);
|
||||
TenantModel.knexBinded = tenantDb;
|
||||
|
||||
const updateTenantUser = TenantUser.tenant().query()
|
||||
.where('id', user.id)
|
||||
.update({ last_login_at: lastLoginAt });
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Router, Request, Response } from 'express';
|
||||
import { Container } from 'typedi';
|
||||
|
||||
export default class Ping {
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,6 @@ import Ping from '@/http/controllers/Ping';
|
||||
import Agendash from '@/http/controllers/Agendash';
|
||||
|
||||
export default (app) => {
|
||||
// app.use('/api/oauth2', OAuth2.router());
|
||||
app.use('/api/auth', Authentication.router());
|
||||
app.use('/api/invite', InviteUsers.router());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user