mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:34:55 +00:00
Add OneSignal configuration and service
This commit is contained in:
9
libs/common/src/config/onesignal.config.ts
Normal file
9
libs/common/src/config/onesignal.config.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs(
|
||||
'onesignal-config',
|
||||
(): Record<string, any> => ({
|
||||
ONESIGNAL_APP_ID: process.env.ONESIGNAL_APP_ID,
|
||||
ONESIGNAL_API_KEY: process.env.ONESIGNAL_API_KEY,
|
||||
}),
|
||||
);
|
||||
Reference in New Issue
Block a user