get profile by token

This commit is contained in:
Kittapath 2024-05-24 01:11:47 +07:00
parent 58fe2f08fd
commit 85f8fbb03a
5 changed files with 124 additions and 59 deletions

View file

@ -50,7 +50,7 @@ export class ProfileFamilyFatherController extends Controller {
"fatherLive",
"profileId",
],
where: { id: profile.id },
where: { profileId: profile.id },
order: { lastUpdatedAt: "DESC" },
});