Skip to content

Commit

Permalink
make it a GET request
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Dec 2, 2024
1 parent 007238f commit 5daeb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildingmotif/api/views/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def evaluate_bindings(template_id: int) -> flask.Response:
return graph.serialize(format="ttl"), status.HTTP_200_OK


@blueprint.route(rule: "/<template_id>/body", methods=(["POST"]))
@blueprint.route(rule: "/<template_id>/body", methods=(["GET"]))
def get_template_body(template_id: int) -> flask.Response:
"""Get template body.
Expand Down

0 comments on commit 5daeb7a

Please sign in to comment.