From 2b53e433ba6591c55790497915b33780fa6bb762 Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 3 Jul 2025 13:04:35 +0700 Subject: [PATCH] add field avatarUrl --- src/controllers/ProfileController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index d95bdf1a..9cc51e44 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -8112,6 +8112,7 @@ export class ProfileController extends Controller { ? `${profile.profileEducations[0].degree ?? ""} ${profile.profileEducations[0].field ?? ""}` : "", dateAppoint: profile.dateAppoint, + avatarUrl: profile.avatar && profile.avatarName ? `${profile.avatar}/${profile.avatarName}` : null }; if (_profile.child4Id != null) {