From e40a0b98e4b1ac1c897b0b30f9b9408e473791e0 Mon Sep 17 00:00:00 2001
From: nomad <benkang666@gmail.com>
Date: Sat, 8 Jul 2023 16:41:52 +0800
Subject: fix(frontend): search user with trailing space (#11184)

* fix(frontend): search user with trailing space

* fix(backend): search user with trailing space

* Update search.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
---
 packages/frontend/src/pages/search.user.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/frontend/src/pages/search.user.vue')

diff --git a/packages/frontend/src/pages/search.user.vue b/packages/frontend/src/pages/search.user.vue
index bd1389ffef..8e4a4a78c5 100644
--- a/packages/frontend/src/pages/search.user.vue
+++ b/packages/frontend/src/pages/search.user.vue
@@ -67,7 +67,7 @@ async function search() {
 		endpoint: 'users/search',
 		limit: 10,
 		params: {
-			query: searchQuery,
+			query: query,
 			origin: searchOrigin,
 		},
 	};
-- 
cgit v1.3.1-freya

