Commit b5003b8b authored by nanahira's avatar nanahira

fix

parent 8fcc38b8
......@@ -325,7 +325,7 @@ export function UsingService(
for (const service of services) {
if (!key) {
// fallback to KoishiAddUsingList
Metadata.appendUnique(KoishiAddUsingList, service)(obj.constructor);
Metadata.appendUnique(KoishiAddUsingList, service)(obj);
} else {
Metadata.appendUnique(KoishiPartialUsing, service)(obj, key);
}
......
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