Fix calls to users/create-user
* remove extraneus parameter to users/create-user in pull_request webhook handler (Fixes #54) * fix db test
This commit is contained in:
parent
f1146d5a83
commit
d6aaa2dcea
|
@ -131,7 +131,7 @@
|
|||
(first)
|
||||
(ensure-bounty-issue owner repo))]
|
||||
(log/debug "Referenced bounty issue found" repo bounty-issue-number)
|
||||
(users/create-user user-id login name nil avatar_url nil)
|
||||
(users/create-user user-id login name nil avatar_url)
|
||||
(let [issue (github/get-issue owner repo bounty-issue-number)
|
||||
pr-data {:repo_id repo-id
|
||||
:pr_id id
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
:name "Linus Torvalds"
|
||||
:avatar_url ""
|
||||
:email nil
|
||||
:token "not null"
|
||||
:address "address"
|
||||
:created nil}))))
|
||||
(is (= {:id 1
|
||||
|
@ -34,7 +33,6 @@
|
|||
:name "Linus Torvalds"
|
||||
:email nil
|
||||
:avatar_url ""
|
||||
:token "not null"
|
||||
:address "address"
|
||||
:created nil}
|
||||
(db/get-user t-conn {:id 1})))))
|
||||
|
|
Loading…
Reference in New Issue