mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-28 09:00:39 +00:00
Fix crash in case webhook with nil url exists for a repo
This commit is contained in:
parent
bb9ae35fd5
commit
f2c74fe4e7
@ -99,7 +99,7 @@
|
||||
(let [hooks (repos/hooks owner repo (auth-params token))
|
||||
url-base (:server-address env)]
|
||||
(log/debug "url-base" url-base)
|
||||
(filter (fn [{{url :url} :config}] (str/starts-with? url url-base))
|
||||
(filter (fn [{{url :url} :config}] (and url (str/starts-with? url url-base)))
|
||||
hooks)))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user