diff --git a/files/routes/search.py b/files/routes/search.py index 7c8481409..0952c7a46 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -341,7 +341,7 @@ def searchmessages(v:User): sentto = get_user(sentto, graceful=True) if not sentto: - abort(400, "The `sentto` field must contain a user's username!") + abort(400, "The `sentto` field must contain an existing user's username!") comments = comments.filter(Comment.sentto == sentto.id)