Skip to content

Commit

Permalink
Little fixes to test on front-edge
Browse files Browse the repository at this point in the history
  • Loading branch information
lasryaric committed Mar 6, 2024
1 parent 0b115a9 commit 160e262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions front/lib/amplitude/back/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export async function trackUser(user: UserType) {
amplitude.identify(`user-${user.id}`, {});
amplitude.signUp(`user-${user.id}`, {
insert_id: `signup_${user.id}`,
time: user.createdAt,
});
}

Expand Down
2 changes: 1 addition & 1 deletion front/lib/api/assistant/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export async function deleteConversation(
* Conversation Rendering
*/

async function batchRenderUserMessages(messages: Message[]) {
export async function batchRenderUserMessages(messages: Message[]) {
const userMessages = messages.filter(
(m) => m.userMessage !== null && m.userMessage !== undefined
);
Expand Down

0 comments on commit 160e262

Please sign in to comment.