Skip to content

Commit 6e33761

Browse files
committed
remove the ref for delete event
1 parent 1722242 commit 6e33761

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services/actions/notifier.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,6 @@ func (n *actionsNotifier) DeleteRef(ctx context.Context, pusher *user_model.User
585585
apiRepo := convert.ToRepo(ctx, repo, access_model.Permission{AccessMode: perm_model.AccessModeNone})
586586

587587
newNotifyInput(repo, pusher, webhook_module.HookEventDelete).
588-
WithRef(refFullName.ShortName()). // FIXME: should we use a full ref name
589588
WithPayload(&api.DeletePayload{
590589
Ref: refFullName.ShortName(),
591590
RefType: refFullName.RefType(),

0 commit comments

Comments
 (0)