Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Apr 4, 2024
1 parent 9895027 commit 5bcb83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/lib/api/assistant/recent_authors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import type {
import { removeNulls } from "@dust-tt/types";
import { Sequelize } from "sequelize";

import { renderUserType } from "@app/lib/api/user";
import type { Authenticator } from "@app/lib/auth";
import { AgentConfiguration, User } from "@app/lib/models";
import { safeRedisClient } from "@app/lib/redis";
import { renderUserType } from "@app/lib/user";

// We keep the most recent authorIds for 3 days.
const recentAuthorIdsKeyTTL = 60 * 60 * 24 * 3; // 3 days.
Expand Down
2 changes: 1 addition & 1 deletion front/pages/api/w/[wId]/members/[uId]/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function handler(
});
}
const updateRoleResult = await MembershipResource.updateMembershipRole({
userId: user.id,
user,
workspace: owner,
newRole: role,
// We allow to re-activate a terminated membership when updating the role here.
Expand Down

0 comments on commit 5bcb83a

Please sign in to comment.