code-review-lab / data /diffs /s09.diff
alirezaaminzadeh's picture
Publish CodeReview Python lab diffs and versioned ruleset
32e0071 verified
Raw
History Blame Contribute Delete
281 Bytes
diff --git a/notes-app/profile.py b/notes-app/profile.py
--- a/notes-app/profile.py
+++ b/notes-app/profile.py
@@ -1,4 +1,4 @@
"""Lab profile view for notes-app. Synthetic."""
def show(user_id):
- return {"id": user_id}
+ return db.execute(build_query(user_id))