mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10: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 {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user