mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-30 19:08:37 +00:00 
			
		
		
		
	Backport #27839 by @lunny Fix #23742 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
		| @@ -104,6 +104,10 @@ func (f *PackagistPayload) Release(_ *api.ReleasePayload) (api.Payloader, error) | ||||
| 	return nil, nil | ||||
| } | ||||
|  | ||||
| func (f *PackagistPayload) Package(_ *api.PackagePayload) (api.Payloader, error) { | ||||
| 	return nil, nil | ||||
| } | ||||
|  | ||||
| // GetPackagistPayload converts a packagist webhook into a PackagistPayload | ||||
| func GetPackagistPayload(p api.Payloader, event webhook_module.HookEventType, meta string) (api.Payloader, error) { | ||||
| 	s := new(PackagistPayload) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user