mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
parse parameters in generic dvm and add to options
This commit is contained in:
parent
3f5cf7efac
commit
fdd08c058f
@ -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()}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user