Skip to content

Commit

Permalink
change getjson return type to match cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Nov 17, 2021
1 parent 47fb9e0 commit bf998ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gettask.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ func (t TaskRequest) BuildPath() string {
}

//GetJSON accepts an API path and returns byte payload of JSON data
func (t TaskRequest) GetJSON(apiPath string) string {
func (t TaskRequest) GetJSON(apiPath string) []byte {
return getJSON(apiPath)
}

0 comments on commit bf998ee

Please sign in to comment.