Commit e03419c2 authored by nanahira's avatar nanahira

fix

parent 8baee225
......@@ -277,9 +277,8 @@ export function WireContextService(
export function ProvideContextService(
name: keyof Context.Services,
options?: Context.Options,
): ClassDecorator {
Context.service(name, options);
Context.service(name);
return AppendMetadata(KoishiServiceProvideSym, name);
}
......
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