Skip to content

Commit

Permalink
fix cannot call Srv.ApiPost
Browse files Browse the repository at this point in the history
  • Loading branch information
iwannay committed Jan 14, 2024
1 parent 2c98eea commit 56a7a86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ $ docker run -v $(pwd)/jiacrontabd:/config --name jiacrontabd --network mybridge

[2.0.0版本演示地址](http://jiacrontab-spa.iwannay.cn/) 账号:test 密码:123456

### 商务合作
<img src="https://raw.githubusercontent.com/iwannay/static_dir/master/1555767089.jpg" width="250" alt="合作"/>


### 赞助
Expand Down
2 changes: 1 addition & 1 deletion jiacrontabd/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (j *JobEntry) timeoutTrigger(p *process) {
log.Error("json.Marshal error:", err)
}

if err = j.jd.rpcCallCtx(context.TODO(), "Srv.ApiPost err:", proto.ApiPost{
if err = j.jd.rpcCallCtx(context.TODO(), "Srv.ApiPost", proto.ApiPost{
Urls: j.detail.APITo,
Data: string(postData),
}, &reply); err != nil {
Expand Down

0 comments on commit 56a7a86

Please sign in to comment.