mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-07-12 21:02:26 +02:00
parse parameters in generic dvm and add to options
This commit is contained in:
@ -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()}
|
||||
|
||||
|
Reference in New Issue
Block a user