Skip to content

Commit

Permalink
fixing import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
prayanshchh committed Oct 30, 2024
1 parent b92fef9 commit 9abd2db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/resolvers/Query/me.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
AppUserProfile,
User,
type InterfaceAppUserProfile,
type InterfaceUser
} from "../../models";
import type { InterfaceUser } from "../../models";
import type { QueryResolvers } from "../../types/generatedGraphQLTypes";
import { decryptEmail } from "../../utilities/encryption";
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@ import { connect, disconnect } from "../../helpers/db";
import type { TestUserType } from "../../helpers/userAndOrg";
import { encryptEmail } from "../../../src/utilities/encryption";
import { hashEmail } from "../../../src/utilities/hashEmail";
import en from "../../../locales/en.json";
import hi from "../../../locales/hi.json";
import zh from "../../../locales/zh.json";
import sp from "../../../locales/sp.json";
import fr from "../../../locales/fr.json";
let MONGOOSE_INSTANCE: typeof mongoose;

const app = express();
i18n.configure({
directory: `${__dirname}/locales`,
staticCatalog: {
en: require("../../../locales/en.json"),
hi: require("../../../locales/hi.json"),
zh: require("../../../locales/zh.json"),
sp: require("../../../locales/sp.json"),
fr: require("../../../locales/fr.json"),
en,
hi,
zh,
sp,
fr,
},
queryParameter: "lang",
defaultLocale: appConfig.defaultLocale,
Expand Down

0 comments on commit 9abd2db

Please sign in to comment.