瀏覽代碼

fixed bug with worker service

master
anastasijasavov 3 年之前
父節點
當前提交
8862d82baa
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      IdentityProvider/Properties/launchSettings.json
  2. 1
    1
      SpotifyWorker/Worker.cs

+ 2
- 2
IdentityProvider/Properties/launchSettings.json 查看文件

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

+ 1
- 1
SpotifyWorker/Worker.cs 查看文件

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

Loading…
取消
儲存