Skip to content

API does not return object_format_name #31287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NicolasChusseau opened this issue Jun 7, 2024 · 1 comment
Closed

API does not return object_format_name #31287

NicolasChusseau opened this issue Jun 7, 2024 · 1 comment
Labels

Comments

@NicolasChusseau
Copy link

Description

When I try to create a new pull request using the api "/repos/{owner}/{repo}/pulls", the pr is correctly created but in the response, the attribute 'object_format_name' should be "sha1" or "sha256" but I have an empty string.

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Expected according to the swagger 1.22.0
image
Actual on postman
image

Git Version

No response

Operating System

No response

How are you running Gitea?

I was using postman.

Database

None

@lunny
Copy link
Member

lunny commented Jun 7, 2024

Duplicate of #31117

@lunny lunny marked this as a duplicate of #31117 Jun 7, 2024
@lunny lunny closed this as completed Jun 7, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants