Skip to content

Commit

Permalink
fix: feedback request code (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiol authored Feb 22, 2024
1 parent dbaa5b0 commit 584ccb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ const FeedbackRequestPopover: React.FC<IProps> = ({ channelId, projectId }) => {
<pre className="bg-fill-quaternary font-10-regular m-5 whitespace-pre-wrap rounded p-4">
{`curl --request POST ${
env.NEXT_PUBLIC_API_BASE_URL
}/api/admin/projects/${projectId}/channels/${channelId}/feedbacks \\\n--header 'Content-Type: application/json' \\\n--header 'x-api-key: ${
}/api/projects/${projectId}/channels/${channelId}/feedbacks \\\n--header 'Content-Type: application/json' \\\n--header 'x-api-key: ${
apiKey?.value ?? 'API_KEY'
}'\\\n--data-raw '${
}' \\\n--data-raw '${
snippetBody
? JSON.stringify(snippetBody, null, 4)
.replace(/\"/g, '')
Expand Down

0 comments on commit 584ccb7

Please sign in to comment.