Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is UtilsModule and ConfigService? #3

Open
aatif-shaikh opened this issue Jan 28, 2021 · 1 comment
Open

what is UtilsModule and ConfigService? #3

aatif-shaikh opened this issue Jan 28, 2021 · 1 comment

Comments

@aatif-shaikh
Copy link

aatif-shaikh commented Jan 28, 2021

what is UtilsModule and ConfigService?

Please update the documentation in order to use it

@aatif-shaikh aatif-shaikh changed the title what is UtilsModule and Config? what is UtilsModule and ConfigService? Jan 28, 2021
@apurvjainmtx
Copy link

UtilModule is not required you can skip it, ConfigService is used to set HOST

Use the below code in the import it is working fine

InfluxDbModule.forRootAsync({
inject: [],
useFactory: async (): Promise => {
return {
host: "hostname",
database: "database name",
port:portnumber
};
}
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants