Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Jul 18, 2024
1 parent 10f816e commit acfbb4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/lib/api/assistant/global_agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import type { Authenticator } from "@app/lib/auth";
import { prodAPICredentialsForOwner } from "@app/lib/auth";
import { GlobalAgentSettings } from "@app/lib/models/assistant/agent";
import logger from "@app/logger/logger";

import { getDataSources } from "../data_sources";

// Used when returning an agent with status 'disabled_by_admin'
Expand Down Expand Up @@ -104,7 +105,7 @@ async function getDataSourcesAndWorkspaceIdForGlobalAgents(
workspaceId: prodCredentials.workspaceId,
};
} else {
let dataSources = await getDataSources(auth);
const dataSources = await getDataSources(auth);
return {
dataSources,
workspaceId: owner.sId,
Expand Down
1 change: 1 addition & 0 deletions front/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { MembershipResource } from "@app/lib/resources/membership_resource";
import { UserResource } from "@app/lib/resources/user_resource";
import { renderLightWorkspaceType } from "@app/lib/workspace";
import logger from "@app/logger/logger";

import config from "./api/config";
const { ACTIVATE_ALL_FEATURES_DEV = false } = process.env;

Expand Down

0 comments on commit acfbb4b

Please sign in to comment.