From 6e73e569599b0953bba178bd7338d2f1dd490ec4 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Wed, 19 Jun 2024 15:18:32 +0200 Subject: [PATCH] allow hops param --- nostr_dvm/tasks/people_discovery_wot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nostr_dvm/tasks/people_discovery_wot.py b/nostr_dvm/tasks/people_discovery_wot.py index b0703f9..200aab9 100644 --- a/nostr_dvm/tasks/people_discovery_wot.py +++ b/nostr_dvm/tasks/people_discovery_wot.py @@ -95,6 +95,9 @@ class DiscoverPeopleWOT(DVMTaskInterface): elif param == "user": # check for param type user = tag.as_vec()[2] print(user) + elif param == "hops": # check for param type + hops = int(tag.as_vec()[2]) + print(hops) options = { "user": user,