Skip to content
Snippets Groups Projects
Commit 0fa41214 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: return if no access token

parent 5f209bf6
1 merge request!108chore(release): Ecolyo 3.1.0
Checking pipeline status
...@@ -62,8 +62,8 @@ func FetchGRDFAuthAPI() { ...@@ -62,8 +62,8 @@ func FetchGRDFAuthAPI() {
} }
accessToken, ok := result["access_token"].(string) accessToken, ok := result["access_token"].(string)
if !ok { if !ok || accessToken == "" {
fmt.Println("Access token not found in response") log.Println("Access token not found in response")
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment