Skip to content

Commit c4c4ee5

Browse files
author
Peter Causey-Freeman
committed
bug fix in hello endpoint
1 parent 8370962 commit c4c4ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_VariantValidator/endpoints/hello.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get(self):
3434
# Collect Arguments
3535
args = parser.parse_args()
3636
config_dict = vval.my_config()
37-
config_dict['seqrepo_db'] = config_dict['seqrepo_db'].split('/')[-1]
37+
config_dict['vvseqrepo_db'] = config_dict['vvseqrepo_db'].split('/')[-2]
3838

3939
# Overrides the default response route so that the standard HTML URL can return any specified format
4040
if args['content-type'] == 'application/json':

0 commit comments

Comments
 (0)