0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 13:13:00 -05:00

Add comment

This commit is contained in:
dragongoose 2023-05-26 10:20:03 -04:00
parent 1fc11488e3
commit 57319cf544
No known key found for this signature in database
GPG key ID: 50DB99B921579009

View file

@ -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
}