tweak: let driver be called service

This commit is contained in:
KernelDeimos
2024-08-21 23:18:12 -04:00
parent bdfdf2331b
commit 21539a1651
+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = eggspress('/drivers/call', {
const result = await context.arun(async () => {
return await svc_driver.call({
iface: interface_name,
driver: body.driver,
driver: body.driver ?? body.service,
method: body.method,
format: body.format,
args: body.args,