Skip to content

Commit

Permalink
refactor/CE-263 (#220)
Browse files Browse the repository at this point in the history
Co-authored-by: afwilcox <[email protected]>
  • Loading branch information
marqueone-ps and afwilcox authored Jan 3, 2024
1 parent 238cd78 commit 07bc4cd
Show file tree
Hide file tree
Showing 47 changed files with 2,686 additions and 1,730 deletions.
2 changes: 2 additions & 0 deletions backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { CodeTableModule } from "./v1/code-table/code-table.module";
console.log("Var check - POSTGRESQL_HOST", process.env.POSTGRESQL_HOST);
console.log("Var check - POSTGRESQL_DATABASE", process.env.POSTGRESQL_DATABASE);
console.log("Var check - POSTGRESQL_USER", process.env.POSTGRESQL_USER);
console.log("Var check - POSTGRESQL_ENABLE_LOGGING", process.env.POSTGRESQL_ENABLE_LOGGING);
if (process.env.POSTGRESQL_PASSWORD != null) {
console.log("Var check - POSTGRESQL_PASSWORD present");
} else {
Expand All @@ -54,6 +55,7 @@ if (process.env.POSTGRESQL_PASSWORD != null) {
username: process.env.POSTGRESQL_USER || "postgres",
password: process.env.POSTGRESQL_PASSWORD,
autoLoadEntities: true, // Auto load all entities registered by typeorm forFeature method.
logging: process.env.POSTGRESQL_ENABLE_LOGGING === "true"
};
},
}),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Test, TestingModule } from "@nestjs/testing";
import { BcGeoCoderService } from "./bc_geo_coder.service";
import { HttpService, HttpModule } from "@nestjs/axios";
import { Feature } from "src/types/bc_geocoder/bcGeocoderType";
import { Feature } from "../../types/bc_geocoder/bcGeocoderType";
import { AxiosResponse } from 'axios';
import { of } from 'rxjs';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, Logger } from "@nestjs/common";
import { HttpService } from "@nestjs/axios";
import { catchError, firstValueFrom } from "rxjs";
import { AxiosError, AxiosRequestConfig } from "axios";
import { Feature } from "src/types/bc_geocoder/bcGeocoderType";
import { Feature } from "../../types/bc_geocoder/bcGeocoderType";

@Injectable()
export class BcGeoCoderService {
Expand Down
Loading

0 comments on commit 07bc4cd

Please sign in to comment.