style(backend): format signal persistence
This commit is contained in:
@@ -387,10 +387,7 @@ export const listAdmittedUnused = query({
|
||||
args: {
|
||||
organizationId: v.id("organizations"),
|
||||
},
|
||||
handler: async (
|
||||
ctx,
|
||||
args
|
||||
): Promise<ConversationMessageSourceView[]> => {
|
||||
handler: async (ctx, args): Promise<ConversationMessageSourceView[]> => {
|
||||
await requireOrganizationMember(ctx, args.organizationId);
|
||||
const conversationId = args.organizationId;
|
||||
|
||||
@@ -405,8 +402,7 @@ export const listAdmittedUnused = query({
|
||||
.take(100);
|
||||
|
||||
const candidates = admitted.filter(
|
||||
(message) =>
|
||||
message.role === "user" && message.status === "admitted"
|
||||
(message) => message.role === "user" && message.status === "admitted"
|
||||
);
|
||||
|
||||
const unused: ConversationMessageSourceView[] = [];
|
||||
|
||||
Reference in New Issue
Block a user