Skip to content

Commit

Permalink
👕
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd committed Jan 5, 2025
1 parent 301980a commit 159d6ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion front/components/poke/plugins/PluginList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ScrollArea, Tooltip } from "@dust-tt/sparkle";
import { Tooltip } from "@dust-tt/sparkle";
import type { PluginWorkspaceResource } from "@dust-tt/types";
import React, { useState } from "react";

Expand Down
4 changes: 0 additions & 4 deletions front/lib/api/poke/plugins/workspaces/user_identity_merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export const userIdentityMergePlugin = createPlugin(
return new Err(new Error("Primary and secondary user IDs are required."));
}

if (primaryUserId === secondaryUserId) {
return new Err(new Error("Primary and secondary user IDs are the same."));
}

const mergeResult = await mergeUserIdentities({
primaryUserId,
secondaryUserId,
Expand Down
1 change: 0 additions & 1 deletion front/lib/iam/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Err, Ok, sanitizeString } from "@dust-tt/types";
import type { PostIdentitiesRequestProviderEnum } from "auth0";

import { getAuth0ManagemementClient } from "@app/lib/api/auth0";
import type { Authenticator } from "@app/lib/auth";
import type { ExternalUser, SessionWithUser } from "@app/lib/iam/provider";
import { UserModel } from "@app/lib/resources/storage/models/user";
import { generateRandomModelSId } from "@app/lib/resources/string_ids";
Expand Down

0 comments on commit 159d6ea

Please sign in to comment.