mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
fixed package version owner in metadata update operation
This commit is contained in:
parent
9e7c6ef5e9
commit
1ea4d48b39
@ -125,7 +125,7 @@ func Push(ctx *context.Context) {
|
||||
|
||||
// Add new architectures and distribution info to package version metadata.
|
||||
err = arch_service.UpdateMetadata(ctx, &arch_service.UpdateMetadataParameters{
|
||||
User: user,
|
||||
User: org.AsUser(),
|
||||
Md: md,
|
||||
})
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user