Skip to content

Commit

Permalink
fix: send correct fixid [IDE-754] (#553)
Browse files Browse the repository at this point in the history
* fix: send correct fixId for AI Fix suggestion

* chore: update changelog with latest fix
  • Loading branch information
DariusZdroba authored Oct 29, 2024
1 parent 504cc8c commit fcdcad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [2.19.2]
- Update download endpoint to downloads.snyk.io.
- Send correct FixId to AI Fix endpoint.

## [2.19.1]
- Adjust OSS panel font size.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ declare const acquireVsCodeApi: any;
const diffSuggestion = suggestion.diffs[diffSelectedIndex];
const filePath = suggestion.filePath;
const patch = diffSuggestion.unifiedDiffsPerFile[filePath];
const fixId = suggestion.id;
const fixId = diffSuggestion.fixId;

const message: ApplyGitDiffMessage = {
type: 'applyGitDiff',
Expand Down

0 comments on commit fcdcad8

Please sign in to comment.