refactor: rename name→displayName in review files

This commit is contained in:
Kirill
2026-05-20 10:51:48 +05:00
parent cc7e46b447
commit 32a4406cb8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export async function registerAdminReviewRoutes(fastify) {
rating: updated.rating,
text: updated.text || '',
productTitle: existing.product?.title || '',
userName: existing.user?.name || existing.user?.email || '',
userName: existing.user?.displayName || existing.user?.email || '',
reviewId: updated.id,
})