Commit bba8eb73 authored by nanahira's avatar nanahira

fix

parent 12b8e538
......@@ -56,6 +56,7 @@ export default class AlertmanagerPlugin
}
onApply() {
super.onApply();
this.router.post(this.config.path, async (ctx) => {
const instance = this.getInstance(ctx.headers['authorization']);
if (!instance) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment