package com.discord.utilities.spotify; import com.discord.utilities.error.Error; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: SpotifyApiClient.kt */ public final class SpotifyApiClient$fetchSpotifyTrack$1 extends o implements Function1 { public final /* synthetic */ String $trackId; public final /* synthetic */ SpotifyApiClient this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public SpotifyApiClient$fetchSpotifyTrack$1(SpotifyApiClient spotifyApiClient, String str) { super(1); this.this$0 = spotifyApiClient; this.$trackId = str; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Error error) { invoke(error); return Unit.a; } public final void invoke(Error error) { m.checkNotNullParameter(error, "it"); Error.Response response = error.getResponse(); m.checkNotNullExpressionValue(response, "it.response"); if (response.getCode() == 401) { SpotifyApiClient.access$setTrackIdToFetch(this.this$0, this.$trackId); SpotifyApiClient.access$refreshSpotifyToken(this.this$0); } } }