Skip to content

Commit

Permalink
fix(tapd): sanitize connection's respo (#7042) (#7043)
Browse files Browse the repository at this point in the history
Co-authored-by: Lynwee <[email protected]>
  • Loading branch information
github-actions[bot] and d4x1 authored Feb 28, 2024
1 parent a39c236 commit 204fbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plugins/tapd/api/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ func GetConnection(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, e
if err != nil {
return nil, err
}
return &plugin.ApiResourceOutput{Body: connection}, nil
return &plugin.ApiResourceOutput{Body: connection.Sanitize()}, nil
}

0 comments on commit 204fbd6

Please sign in to comment.