mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-17 03:05:13 +00:00
Add super admin configuration and service
This commit is contained in:
9
libs/common/src/config/super.admin.config.ts
Normal file
9
libs/common/src/config/super.admin.config.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs(
|
||||
'super-admin',
|
||||
(): Record<string, any> => ({
|
||||
SUPER_ADMIN_EMAIL: process.env.SUPER_ADMIN_EMAIL,
|
||||
SUPER_ADMIN_PASSWORD: process.env.SUPER_ADMIN_PASSWORD,
|
||||
}),
|
||||
);
|
Reference in New Issue
Block a user