mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Rename HookQueue to hookQueue (#8778)
* Rename HookQueue to hookQueue * fix lint
This commit is contained in:
1 parent
4b8d9e58c5
commit
f518fe6662
13 files changed
+19
-65
No files matched your search
@@ -137,7 +137,7 @@ func TestHook(ctx *context.APIContext) {
|
||||
ctx.Error(500, "PrepareWebhook: ", err)
|
||||
return
|
||||
}
|
||||
go webhook.HookQueue.Add(ctx.Repo.Repository.ID)
|
||||
|
||||
ctx.Status(204)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user