From 9c2e0a759a2d58de441ecff1bd82214375d7f0e9 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 27 Mar 2019 14:33:27 -0700 Subject: [PATCH] modules/webhook: Handle labels action unlabeled. --- modules/webhook.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/webhook.cc b/modules/webhook.cc index 18ebc24af..77616b234 100644 --- a/modules/webhook.cc +++ b/modules/webhook.cc @@ -600,6 +600,30 @@ github_handle__issues(std::ostream &out, out << ""; } + else if(action == "unlabeled") + { + const json::object label + { + content["label"] + }; + + out << ""; + } return out; }