Skip to content
Myr

Fix function argument name

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrii Kolomoiets · committed by GitHub · parent 39fc0c6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/views.rst+1 added-1 removed
295 unmodified lines
296 db.session.add(self.model.from_json(request.json))297 db.session.commit()298 return jsonify(item.to_json())299300 def register_api(app, model, url):300 def register_api(app, model, name):301 item = ItemAPI.as_view(f"{name}-item", model)302 group = GroupAPI.as_view(f"{name}-group", model)303 app.add_url_rule(f"/{name}/<int:id>", view_func=item)304 app.add_url_rule(f"/{name}/", view_func=group)
20 unmodified lines