Skip to content

Commit

Permalink
Rename getUserId.tsx to getExperimentationId.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnl committed Apr 26, 2024
1 parent 1519b6b commit 101f7bc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { getEnabledFeatureFlags } from "../../../../../../../db/tables/featureFl
import { getAttributionsFromCookiesOrDb } from "../../../../../../functions/server/attributions";
import { checkSession } from "../../../../../../functions/server/checkSession";
import { isPrePlusUser } from "../../../../../../functions/server/isPrePlusUser";
import { getUserId } from "../../../../../../functions/server/getUserId";
import { getUserId } from "../../../../../../functions/server/getExperimentationId";
import { getExperiments } from "../../../../../../functions/server/getExperiments";
import { getLocale } from "../../../../../../functions/universal/getLocale";
import { getL10n } from "../../../../../../functions/server/l10n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { getSha1 } from "../../../../../../../utils/fxa";
import { getAttributionsFromCookiesOrDb } from "../../../../../../functions/server/attributions";
import { getEnabledFeatureFlags } from "../../../../../../../db/tables/featureFlags";
import { getLatestOnerepScan } from "../../../../../../../db/tables/onerep_scans";
import { getUserId } from "../../../../../../functions/server/getUserId";
import { getUserId } from "../../../../../../functions/server/getExperimentationId";
import { getExperiments } from "../../../../../../functions/server/getExperiments";
import { getLocale } from "../../../../../../functions/universal/getLocale";
import { getCountryCode } from "../../../../../../functions/server/getCountryCode";
Expand Down
2 changes: 1 addition & 1 deletion src/app/(proper_react)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { ReactAriaI18nProvider } from "../../contextProviders/react-aria";
import { CountryCodeProvider } from "../../contextProviders/country-code";
import { getCountryCode } from "../functions/server/getCountryCode";
import { PageLoadEvent } from "../components/client/PageLoadEvent";
import { getUserId } from "../functions/server/getUserId";
import { getUserId } from "../functions/server/getExperimentationId";
import { getEnabledFeatureFlags } from "../../db/tables/featureFlags";

export default async function Layout({ children }: { children: ReactNode }) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/functions/server/getExperiments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ExperimentData,
defaultExperimentData,
} from "../../../telemetry/generated/nimbus/experiments";
import { ExperimentationId } from "./getUserId";
import { ExperimentationId } from "./getExperimentationId";

/**
* Call the Cirrus sidecar, which returns a list of eligible experiments for the current user.
Expand Down

0 comments on commit 101f7bc

Please sign in to comment.