getBlockedAuthContextData = async (req, res) => {
  try {
    const result = await SuspiciousLogin.find({
      user: req.userId,
      isBlocked: true,
      isTrusted: false,
    });

    const blockedAuthContextData = result.map((item) => {
      return {
        _id: item._id,
        time: formatCreatedAt(item.createdAt),
        ip: item.ip,
        country: item.country,
        city: item.city,
        browser: item.browser,
        platform: item.platform,
        os: item.os,
        device: item.device,
        deviceType: item.deviceType,
      };
    });

    res.status(200).json(blockedAuthContextData);
  } catch (error) {
    res.status(500).json({
      message: "Internal server error",
    });
  }
}
@route GET /auth/context-data/blocked