Commit d564563e authored by Ryan Herbert's avatar Ryan Herbert
Browse files more hackiness for form action

we don't have access to files yet so we'll just assume we're adding for
the tie being.
parent 99b417cf
Pipeline #19930 passed with stages
in 40 seconds
......@@ -212,11 +212,7 @@ def submit():
data['errors'] = errors
if (f["id"] != ""):
action = 'edit'
action = 'add'
data['action'] = action
data['action'] = 'add'
if len(errors) > 0:
return form_response(data)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment