mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
Add comment
This commit is contained in:
parent
1fc11488e3
commit
57319cf544
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
|
||||
const twitchUrl = "https://gql.twitch.tv/gql"
|
||||
|
||||
// useful funcs
|
||||
func call(url, method string, body io.Reader) (*http.Response, error) {
|
||||
req, err := http.NewRequest(method, url, body)
|
||||
if err != nil {
|
||||
|
@ -206,5 +207,4 @@ func GetDirectory(limit int, cursor string) ([]structs.Category, error) {
|
|||
}
|
||||
|
||||
return parsedCategoryArray, nil
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue