Procházet zdrojové kódy

merge conflict and get currently playing track

tags/v1.1.0^2
anastasijasavov před 3 roky
rodič
revize
378c9689f8

+ 1
- 1
NemAnCore/Services/StatsClientService.cs Zobrazit soubor

_serviceClient = channel.CreateGrpcService<IStatsService>(); _serviceClient = channel.CreateGrpcService<IStatsService>();
} }
public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token) public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token)
{
{
return await _serviceClient.GetCurrentlyPlayingTrack(token); return await _serviceClient.GetCurrentlyPlayingTrack(token);
} }
} }

+ 1
- 1
gRPCServer/Services/StatsService.cs Zobrazit soubor

public StatsService(IHttpClientFactory httpClientFactory) public StatsService(IHttpClientFactory httpClientFactory)
{ {
_httpClientFactory = httpClientFactory; _httpClientFactory = httpClientFactory;
}
}


public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token) public async Task<TrackResponse> GetCurrentlyPlayingTrack(TokenMessage token)
{ {

Načítá se…
Zrušit
Uložit