Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
prostgles committed Nov 27, 2024
1 parent c66da7a commit 230a5f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/Auth/sendEmail.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Email, SMTPConfig } from "./AuthTypes";
import nodemailer from "nodemailer";
import * as nodemailer from "nodemailer";
import * as aws from "@aws-sdk/client-ses";
import SESTransport from "nodemailer/lib/ses-transport";

Expand Down
2 changes: 0 additions & 2 deletions lib/Auth/setAuthProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { removeExpressRouteByName } from "../FileManager/FileManager";
import { AUTH_ROUTES_AND_PARAMS, AuthHandler, getLoginClientInfo } from "./AuthHandler";
import { Auth } from './AuthTypes';
import { setEmailProvider } from "./setEmailProvider";
/** For some reason normal import is undefined */
// const passport = require("passport") as typeof import("passport");
import * as passport from "passport";

export const upsertNamedExpressMiddleware = (app: e.Express, handler: RequestHandler, name: string) => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prostgles-server",
"version": "4.2.163",
"version": "4.2.164",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tests/server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 230a5f7

Please sign in to comment.