Skip to content

Commit

Permalink
chore: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza committed Aug 5, 2024
1 parent 858333b commit d1a28aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Router } from "express";
import { postRateLimit } from "../util/rateLimit.js";
import { postRateLimit } from "../util/index.js";
import getInfo from "./info/getInfo.js";
import createQuote from "./quotes/createQuote.js";
import getQuoteById from "./quotes/getQuoteById.js";
Expand Down
2 changes: 1 addition & 1 deletion src/routes/quotes/createQuote.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Request, Response } from "express";
import { database } from "../../index.js";
import { convertPropertiesForDatabase, convertPropertiesFromDatabase, validateQuote } from "../../util/helpers.js";
import { convertPropertiesForDatabase, convertPropertiesFromDatabase, validateQuote } from "../../util/index.js";

/**
* Create a new quote.
Expand Down
2 changes: 1 addition & 1 deletion src/util/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Filter from "bad-words";
import type { DatabaseQuote, QuoteUnion, QuoteWithCategoriesArray, ValidationError } from "../types/index.js";
import { QUOTE_LIMITS } from "./constants.js";
import { QUOTE_LIMITS } from "./index.js";

/**
* Converts the properties of a quote for the database
Expand Down

0 comments on commit d1a28aa

Please sign in to comment.