diff --git a/daemon_get.py b/daemon_get.py index f96f3569d..b3f4e1521 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -479,7 +479,8 @@ def daemon_http_get(self) -> None: self.server.i2p_domain, getreq_start_time, None, self.server.debug, - self.server.enable_shared_inbox): + self.server.enable_shared_inbox, + self.server.fitness): return http_404(self, 111) return diff --git a/daemon_get_instance_actor.py b/daemon_get_instance_actor.py index 9f9a8a1eb..0976c0178 100644 --- a/daemon_get_instance_actor.py +++ b/daemon_get_instance_actor.py @@ -25,7 +25,8 @@ def show_instance_actor(self, calling_domain: str, onion_domain: str, i2p_domain: str, getreq_start_time, cookie: str, debug: str, - enable_shared_inbox: bool) -> bool: + enable_shared_inbox: bool, + fitness: {}) -> bool: """Shows the instance actor """ if debug: @@ -87,8 +88,7 @@ def show_instance_actor(self, calling_domain: str, set_headers(self, 'application/activity+json', msglen, cookie, calling_domain, False) write2(self, msg) - fitness_performance(getreq_start_time, - self.server.fitness, + fitness_performance(getreq_start_time, fitness, '_GET', 'show_instance_actor', debug) return True