mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
removed config from context
This commit is contained in:
@@ -5,7 +5,6 @@ const debug = require('debug')('talk:plugins');
|
||||
const Joi = require('joi');
|
||||
const amp = require('app-module-path');
|
||||
const pkg = require('./package.json');
|
||||
const config = require('./config');
|
||||
|
||||
const PLUGINS_JSON = process.env.TALK_PLUGINS_JSON;
|
||||
|
||||
@@ -71,7 +70,6 @@ const hookSchemas = {
|
||||
class PluginContext {
|
||||
constructor() {
|
||||
this.pkg = pkg;
|
||||
this.config = config;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user