| @@ -15,7 +15,7 @@ namespace NemAnBlazor.Services | |||
| _serviceClient = channel.CreateGrpcService<IStatsService>(); | |||
| } | |||
| public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token) | |||
| { | |||
| { | |||
| return await _serviceClient.GetCurrentlyPlayingTrack(token); | |||
| } | |||
| } | |||
| @@ -14,7 +14,7 @@ namespace SpotifyService.Services | |||
| public StatsService(IHttpClientFactory httpClientFactory) | |||
| { | |||
| _httpClientFactory = httpClientFactory; | |||
| } | |||
| } | |||
| public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token) | |||
| { | |||