Skip to content
Myr

Fix varname in docs

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

authored by Maxim G. Ivanov · committed by Grey Li · parent dcdcac2 · 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
254 unmodified lines
255 def _get_item(self, id):256 return self.model.query.get_or_404(id)257258 def get(self, id):259 user = self._get_item(id)259 item = self._get_item(id)260 return jsonify(item.to_json())261262 def patch(self, id):263 item = self._get_item(id)
61 unmodified lines