Kaynağa Gözat

fixed bug with worker service

master
anastasijasavov 3 yıl önce
ebeveyn
işleme
8862d82baa

+ 2
- 2
IdentityProvider/Properties/launchSettings.json Dosyayı Görüntüle

"profiles": { "profiles": {
"IIS Express": { "IIS Express": {
"commandName": "IISExpress", "commandName": "IISExpress",
"launchBrowser": true,
"launchBrowser": false,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
"SpotifyService": { "SpotifyService": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": "true", "dotnetRunMessages": "true",
"launchBrowser": true,
"launchBrowser": false,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:5001;http://localhost:5000", "applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": { "environmentVariables": {

+ 1
- 1
SpotifyWorker/Worker.cs Dosyayı Görüntüle

await _identityService.SaveTrackAsync(new GrpcShared.DTO.Db.SaveTrackRequest await _identityService.SaveTrackAsync(new GrpcShared.DTO.Db.SaveTrackRequest
{ {
Album = track.Item.Album.Name, Album = track.Item.Album.Name,
Artist = track.Item.Artists.Single().Name,
Artist = track.Item.Artists[0].Name,
Title = track.Item.Name, Title = track.Item.Name,
TrackId = track.Item.Id, TrackId = track.Item.Id,
UserId = res[i].Id UserId = res[i].Id

Loading…
İptal
Kaydet