mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
add server to monorepo.
This commit is contained in:
15
packages/server/src/services/AuthenticatedAccount/index.ts
Normal file
15
packages/server/src/services/AuthenticatedAccount/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Service, Inject } from 'typedi';
|
||||
import { ISystemUser } from '@/interfaces';
|
||||
|
||||
@Service()
|
||||
export default class AuthenticatedAccount {
|
||||
/**
|
||||
*
|
||||
* @param {number} tenantId
|
||||
* @param {ISystemUser} authorizedUser
|
||||
* @returns
|
||||
*/
|
||||
getAccount = async (tenantId: number, authorizedUser: ISystemUser) => {
|
||||
return authorizedUser;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user