Skip to content

Commit

Permalink
Cleans up rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
scourgemancer committed Mar 31, 2020
1 parent 24dc257 commit 3f58469
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/utils/data_fetcher.ts → src/data_fetcher.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {readFileSync} from "fs";
import {resolve} from "path";
import {ingestData, StructuredData, UnstructuredText} from "../utils/ingest";
import {ingestData, StructuredData, UnstructuredText} from "./ingest";

let mostRecentDataset: StructuredData;

Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import {V1Service} from "./services/v1";
import {resolve} from "path";
import cors from "cors";
import compression from "compression";
import { app } from './server';
import { updateData, startPeriodicallyCalling, getTomorrowMorning } from './utils/data_fetcher';
import { updateData, startPeriodicallyCalling, getTomorrowMorning } from './data_fetcher';

updateData();
const default_interval: string = (1000 * 60 * 60 * 24).toString();
Expand Down
4 changes: 2 additions & 2 deletions tests/data-download/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import express from "express";
import { StructuredData } from "../../src/utils/ingest";
import { getDataset } from "../../src/utils/data_fetcher";
import { StructuredData } from "../../src/ingest";
import { getDataset } from "../../src/data_fetcher";

const serveFile = (filename: string, callback?: () => any) => {
const app = express();
Expand Down

0 comments on commit 3f58469

Please sign in to comment.