Skip to content

Commit

Permalink
chore: remove dust wId global from tracker limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Fontanier committed Jan 16, 2025
1 parent a4f245c commit 03f9227
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions front/pages/api/w/[wId]/spaces/[spaceId]/trackers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ import { withSessionAuthenticationForWorkspace } from "@app/lib/api/auth_wrapper
import { withResourceFetchingFromRoute } from "@app/lib/api/resource_wrappers";
import type { Authenticator } from "@app/lib/auth";
import { getFeatureFlags } from "@app/lib/auth";
import { PRODUCTION_DUST_WORKSPACE_ID } from "@app/lib/registry";
import type { SpaceResource } from "@app/lib/resources/space_resource";
import { TrackerConfigurationResource } from "@app/lib/resources/tracker_resource";
import { apiError } from "@app/logger/withlogging";

const TRACKER_LIMIT_BY_WORKSPACE = {
[md5(PRODUCTION_DUST_WORKSPACE_ID)]: -1,
const TRACKER_LIMIT_BY_WORKSPACE: Record<string, number> = {
baf50ff50aa28e3b3ebb09bf21fbc29d: -1, // dust US workspace
"9904970eeaa283f18656c6e60b66cb19": 3,
};

Expand Down

0 comments on commit 03f9227

Please sign in to comment.