Skip to content

Commit

Permalink
fix(backend): delete useless function for structureType
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Oct 9, 2024
1 parent 88c1a2e commit 9303465
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/open-data-places/load-mss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { OpenDataPlace } from "./interfaces/OpenDataPlace.interface";
import {
getDepartementFromCodePostal,
getRegionCodeFromDepartement,
getStructureType,
} from "@domifa/common";
import { MssPlace } from "./interfaces";
import { getLocation } from "../structures/services/location.service";
import { getStructureType } from "./functions";

const getFromMss = async () => {
let newPlaces = 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/open-data-places/load-soliguide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { OpenDataPlace } from "./interfaces/OpenDataPlace.interface";
import {
getDepartementFromCodePostal,
getRegionCodeFromDepartement,
getStructureType,
} from "@domifa/common";
import { getStructureType } from "./functions";

let page = 1;
let nbResults = 0;
Expand Down
41 changes: 0 additions & 41 deletions packages/backend/src/open-data-places/utils/getStructureType.ts

This file was deleted.

0 comments on commit 9303465

Please sign in to comment.