From fdd08c058fa1149be7e13e99641fe7ab5c57378a Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Mon, 30 Sep 2024 13:02:47 +0200 Subject: [PATCH] parse parameters in generic dvm and add to options --- nostr_dvm/tasks/generic_dvm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nostr_dvm/tasks/generic_dvm.py b/nostr_dvm/tasks/generic_dvm.py index 695e485..5922cfc 100644 --- a/nostr_dvm/tasks/generic_dvm.py +++ b/nostr_dvm/tasks/generic_dvm.py @@ -48,6 +48,8 @@ class GenericDVM(DVMTaskInterface): elif tag.as_vec()[0] == 'param': if tag.as_vec()[1] == 'user': user = tag.as_vec()[2] + else: + self.options[tag.as_vec()[1]] = tag.as_vec()[2] request_form = {"jobID": event.id().to_hex()}