[Manual Sync Required] Fix codes API response data is null#1171
Merged
Conversation
7058a34 to
5128f6d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
/api/v1/codesendpoint to return an empty array (data: []) instead ofnullwhen no code data is found, ensuring consistent API response formatting.Manual handling required:
Dev-agent failed to cherry-pick this GitLab MR: PR创建失败: 分支推送失败: fatal: unable to access 'https://github.com/OpenCSGs/csghub-server.git/': Failed to connect to github.com port 443 after 130420 ms: Connection timed out
Source GitLab MR: !2561
Source ref: b97be6ed64fb2c1741dddcef1df4d00dfa7f2854
Files in sync scope: 2
The GitLab MR patch was applied with git's 3-way apply. Please review before merging.