This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update specific hook_task, not all
tags/v1.2.0-rc1
Christopher Brickley
11 years ago
parent
e21d8a7d35
commit
132590fab8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/webhook.go
+ 1
- 1
models/webhook.go
View File
@@ -230,7 +230,7 @@ func CreateHookTask(t *HookTask) error {
// UpdateHookTask updates information of hook task.
func UpdateHookTask(t *HookTask) error {
_, err := x.AllCols().Update(t)
_, err := x.
Id(t.Id).
AllCols().Update(t)
return err
}
Write
Preview
Loading…
Cancel
Save