Skip to content

Commit

Permalink
allow PUT on autoimages
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Apr 24, 2024
1 parent 36ab6f2 commit 6ef1578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/src/routes/autoimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def collection(user: dict):
return jsonify({"slug": request_json["slug"]})


@blueprint.route("/<string:autoimage_slug>", methods=["GET", "DELETE"])
@blueprint.route("/<string:autoimage_slug>", methods=["GET", "PUT", "DELETE"])
@authenticate()
def document(autoimage_slug: ObjectId, user: dict):
if request.method == "GET":
Expand Down

0 comments on commit 6ef1578

Please sign in to comment.