Skip to content

Commit

Permalink
fix: mise a jour de l'import de l'util du numero de tel (#3940)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Gaucher <[email protected]>
  • Loading branch information
Pomarom and Pomarom authored Dec 16, 2024
1 parent 3170a9f commit bd2aecd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { isValidCFD } from "shared";
import { telephoneConverter } from "shared/utils/frenchTelephoneNumber";
import { it, expect, describe } from "vitest";

import { telephoneConverter } from "@/common/validation/utils/frenchTelephoneNumber";

describe("Validation Utils", () => {
describe("validation du CFD", () => {
[
Expand Down
2 changes: 1 addition & 1 deletion shared/models/parts/zodPrimitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
PHONE_REGEX_PATTERN,
} from "shared";

import { telephoneConverter } from "../../../server/src/common/validation/utils/frenchTelephoneNumber";
import { telephoneConverter } from "../../utils/frenchTelephoneNumber";

extendZodWithOpenApi(z);

Expand Down
File renamed without changes.

0 comments on commit bd2aecd

Please sign in to comment.