Skip to content

Commit

Permalink
APIContextにしてなかった部分を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tukeJonny committed Aug 27, 2017
1 parent 83b1d99 commit 28b275e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file renamed .events.go.swp → .api.go.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func GetUrl(name string, ctx APIContext) string {
return client.GetUrl()
}

func GetAPIData(name string, ctx map[string]interface{}) interface{} {
func GetAPIData(name string, ctx APIContext) interface{} {
client := newAPIClient(name, ctx)
return client.GetAPIData()
}

0 comments on commit 28b275e

Please sign in to comment.