fix(engine-rest): correct query method invocation