mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 04:48:51 +00:00
feat: add http module for plugins
This commit is contained in:
parent
ceb2e203fd
commit
1d2f274a37
@ -6,6 +6,7 @@
|
|||||||
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
|
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import { HttpModule } from '@nestjs/axios';
|
||||||
import { Global, Module } from '@nestjs/common';
|
import { Global, Module } from '@nestjs/common';
|
||||||
import { MongooseModule } from '@nestjs/mongoose';
|
import { MongooseModule } from '@nestjs/mongoose';
|
||||||
import { InjectDynamicProviders } from 'nestjs-dynamic-providers';
|
import { InjectDynamicProviders } from 'nestjs-dynamic-providers';
|
||||||
@ -40,6 +41,7 @@ import { PluginService } from './plugins.service';
|
|||||||
CmsModule,
|
CmsModule,
|
||||||
AttachmentModule,
|
AttachmentModule,
|
||||||
ChatModule,
|
ChatModule,
|
||||||
|
HttpModule,
|
||||||
],
|
],
|
||||||
providers: [PluginService],
|
providers: [PluginService],
|
||||||
exports: [PluginService],
|
exports: [PluginService],
|
||||||
|
Loading…
Reference in New Issue
Block a user