Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
84f730cd
Commit
84f730cd
authored
3 years ago
by
Jeremy M Fee
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-28' into 'master'
Status code fix for get_metadata_history_by_id Closes
#28
See merge request
!85
parents
00bd1a9e
ebb84453
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!146
Release CMO metadata to production
,
!85
Status code fix for get_metadata_history_by_id
Pipeline
#42387
failed
3 years ago
Stage: test
Stage: integration
Stage: scan
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geomagio/api/secure/metadata.py
+1
-1
1 addition, 1 deletion
geomagio/api/secure/metadata.py
with
1 addition
and
1 deletion
geomagio/api/secure/metadata.py
+
1
−
1
View file @
84f730cd
...
@@ -96,7 +96,7 @@ async def get_metadata_history_by_id(id: int):
...
@@ -96,7 +96,7 @@ async def get_metadata_history_by_id(id: int):
database
=
database
database
=
database
).
get_metadata_history_by_id
(
id
=
id
)
).
get_metadata_history_by_id
(
id
=
id
)
if
metadata
is
None
:
if
metadata
is
None
:
return
Response
(
status_code
=
40
0
)
return
Response
(
status_code
=
40
4
)
return
metadata
return
metadata
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment