message: Use default_wid to detect if user has no workspaces (lib),
diff: @@ -610,9 +610,9 @@ error User::LoadUserAndRelatedDataFromJSONString(
  return error("Failed to LoadUserAndRelatedDataFromJSONString");
  }
  - // Handle missing workspace issue
  + // Handle missing workspace issue. If default wid is missing there are no workspaces
  - if (!root["data"].isMember("workspaces") || root["data"]["workspaces"].size() == 0) {
  + if (!root["data"].isMember("default_wid")) {
  return error("You no longer have access to your last workspace"); // NOLINT
  }
  