Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Nov 27, 2024
1 parent 4889bdf commit e532c3c
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/adapters/supabase/helpers/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,17 @@ export class Comment extends SuperSupabase {
finalPayload = null;
plaintext = null;
}
const { data, error } = await this.supabase
.from("issue_comments")
.insert([
{
id: commentData.id,
markdown: finalMarkdown,
author_id: commentData.author_id,
embedding,
payload: finalPayload,
issue_id: commentData.issue_id,
plaintext,
},
]);
const { data, error } = await this.supabase.from("issue_comments").insert([
{
id: commentData.id,
markdown: finalMarkdown,
author_id: commentData.author_id,
embedding,
payload: finalPayload,
issue_id: commentData.issue_id,
plaintext,
},
]);
if (error) {
this.context.logger.error("Failed to create comment in database", {
Error: error,
Expand Down

0 comments on commit e532c3c

Please sign in to comment.