Skip to content

Commit 674301f

Browse files
committed
Итеративное изменение с целью понять, почему стали падать тесты hexlet
1 parent 777434a commit 674301f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page_analyzer/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def urls_post():
111111
return render_template(ERROR_TEMPLATE), 422
112112

113113

114-
@app.route("/urls/<int:id>")
114+
@app.route("/urls/<id>")
115115
def urls_show(id):
116116
url_data = urls_model.find_by_id(id)
117117

@@ -130,7 +130,7 @@ def urls_show(id):
130130
)
131131

132132

133-
@app.post("/urls/<int:id>/checks")
133+
@app.post("/urls/<id>/checks")
134134
def urls_checks_post(id):
135135
url_data = urls_model.find_by_id(id)
136136

0 commit comments

Comments
 (0)