Skip to content

Commit

Permalink
fix(Support): broken import
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner committed May 16, 2024
1 parent e8be2ec commit b20d64f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { ZodReqWithFiles } from "../types/Express";
import { getSignedUrl } from "@aws-sdk/cloudfront-signer";
import base64 from "base-64";
import Organization from "../models/organization.js";
import auth from "./auth";
import authAPI from "../api/auth.js";

export const SUPPORT_FILES_S3_CLIENT_CONFIG: S3ClientConfig = {
credentials: {
Expand Down Expand Up @@ -1139,7 +1139,7 @@ const _getEmails = async (

if (staffOnly) {
return users
.filter((u) => auth.checkHasRole(u, "libretexts", "support", true))
.filter((u) => authAPI.checkHasRole(u, "libretexts", "support", true))
.map((u) => u.email);
}

Expand Down

0 comments on commit b20d64f

Please sign in to comment.