Skip to content

Commit

Permalink
Jetpack AI: Switch tracking data to snake_case to maintain Tracks' re…
Browse files Browse the repository at this point in the history
…quired property format (#40774)

* Jetpack AI: Switch tracking data to camel_case to maintain Tracks' required property format

* changelog
  • Loading branch information
mwatson authored Dec 30, 2024
1 parent f66d303 commit ec603c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Jetpack AI: Switch tracking data to camel_case to maintain Tracks' required property format
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ export default function AiFeedbackThumbs( {
tracks.recordEvent( 'jetpack_ai_feedback', {
type: feature,
rating: aiRating,
mediaLibraryId: options.mediaLibraryId || null,
media_library_id: options.mediaLibraryId || null,
prompt: options.prompt || null,
revisedPrompt: options.revisedPrompt || null,
revised_prompt: options.revisedPrompt || null,
block: options.block || null,
} );
}
Expand Down

0 comments on commit ec603c9

Please sign in to comment.