Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Import API
Commits
b37b80e2
Commit
b37b80e2
authored
Apr 12, 2021
by
Jonas Waeber
Browse files
Fix error
parent
179258fa
Pipeline
#24476
passed with stages
in 2 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
import_api_app/resources/WriteTypeReportToDrupal.py
View file @
b37b80e2
...
...
@@ -55,7 +55,7 @@ class WriteTypeReportToDrupal(Resource):
'message'
:
f
'Missing a element in input body:
{
er
}
'
},
400
try
:
node_id
=
get_node_id
(
identifier
)
node_id
=
get_node_id
(
identifier
,
node_type
)
return
write_results
(
node_type
,
node_id
,
status
,
report
)
except
ImportApiError
as
e
:
current_app
.
logger
.
error
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment