go-gitlab-client
go-gitlab-client copied to clipboard
Use hp.ObjectKind as expression in payload switch
The second commit, for hp.ObjectKind, requires the first commit to properly exit the switch.
I haven't noticed it before, but at least now, with 9.1.0, all payloads
contain the object_kind member. Hence the PR.