const userDetail = await User.findOne({ where: { email: "testuser@example.co" }, }); const userAccount = await userDetail.getAccount();