removed unnecessary println and console.log

This commit is contained in:
John O'Keefe 2024-09-18 14:10:49 -04:00
parent c7694900e3
commit 77dc48fcf2
3 changed files with 0 additions and 4 deletions

View File

@ -18,7 +18,6 @@ func MALHelper(method string, malUrl string, body url.Values) (json.RawMessage,
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
req.Header.Add("Authorization", "Bearer "+myAnimeListJwt.AccessToken)
fmt.Println(myAnimeListJwt.AccessToken)
resp, err := client.Do(req)
@ -92,7 +91,6 @@ func (a *App) MyAnimeListUpdate(anime MALAnime, update MALUploadStatus) MalListS
}
func (a *App) GetMyAnimeListAnime(id int) MALAnime {
fmt.Println(id)
malUrl := "https://api.myanimelist.net/v2/anime/" + strconv.Itoa(id) + "?fields=id,title,main_picture,alternative_titles,start_date,end_date,synopsis,mean,rank,popularity,num_list_users,num_scoring_users,nsfw,genres,created_at,updated_at,media_type,status,my_list_status,num_episodes,start_season,broadcast,source,average_episode_duration,rating,pictures,background,related_anime,recommendations,studios,statistics"
respBody, respStatus := MALHelper("GET", malUrl, nil)
var malAnime MALAnime

View File

@ -257,7 +257,6 @@ func (a *App) SimklSearch(aniListAnime MediaList) SimklAnime {
err := json.Unmarshal(respBody, &anime)
if len(anime) == 0 {
fmt.Println("reached search by mal")
url = "https://api.simkl.com/search/id?mal=" + strconv.Itoa(aniListAnime.Media.IDMal)
respBody = SimklHelper("GET", url, nil)
fmt.Println(string(respBody))

View File

@ -30,7 +30,6 @@
conditions: [
async () => await CheckIfAniListLoggedIn(),
async (detail) => {
console.log("reached condition")
aniListAnime.update(value => {
value = AniListGetSingleAnimeDefaultData
return value