Skip to content

Commit

Permalink
Fix typo in delete function endpoint (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Oct 26, 2020
1 parent 11d732b commit db95228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlrun/api/api/endpoints/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_function(
def delete_function(
project: str, name: str, db_session: Session = Depends(deps.get_db_session),
):
get_db().delete_function(db_session, name, project)
get_db().delete_function(db_session, project, name)
return Response(status_code=HTTPStatus.NO_CONTENT.value)


Expand Down

0 comments on commit db95228

Please sign in to comment.