From b35be6926ada842633b1230ae4dd760cd3cc4070 Mon Sep 17 00:00:00 2001 From: john-okeefe <jrokeefe@protonmail.com> Date: Sun, 16 Mar 2025 13:51:00 -0400 Subject: [PATCH] rename code to ANILIST_CODE in environment --- bruno/AniTrack/AniList/GetAuthorizationToken.bru | 4 ++-- bruno/AniTrack/environments/Dev.bru | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bruno/AniTrack/AniList/GetAuthorizationToken.bru b/bruno/AniTrack/AniList/GetAuthorizationToken.bru index 1697474..951ed4c 100644 --- a/bruno/AniTrack/AniList/GetAuthorizationToken.bru +++ b/bruno/AniTrack/AniList/GetAuthorizationToken.bru @@ -12,7 +12,7 @@ post { headers { Accept: application/json - Content-Type: application/json + Content-Type: application/x-www-form-urlencoded } body:form-urlencoded { @@ -20,7 +20,7 @@ body:form-urlencoded { client_id: {{ANILIST_APP_ID}} client_secret: {{ANILIST_SECRET_TOKEN}} redirect_uri: http://localhost:6734/callback - code: {{code}} + code: {{ANILIST_CODE}} } body:multipart-form { diff --git a/bruno/AniTrack/environments/Dev.bru b/bruno/AniTrack/environments/Dev.bru index 7da3f20..9dbc31a 100644 --- a/bruno/AniTrack/environments/Dev.bru +++ b/bruno/AniTrack/environments/Dev.bru @@ -9,7 +9,7 @@ vars { } vars:secret [ ANILIST_ACCESS_TOKEN, - code, + ANILIST_CODE, SIMKL_AUTH_TOKEN, MAL_CODE, MAL_VERIFIER,