mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-07 06:43:26 +01:00
remove async when there's nothing to await
This commit is contained in:
@@ -58,8 +58,8 @@ namespace Emby.Server.Implementations.Social
|
||||
};
|
||||
|
||||
AddShareInfo(info, externalUrl);
|
||||
|
||||
await _repository.CreateShare(info).ConfigureAwait(false);
|
||||
|
||||
_repository.CreateShare(info);
|
||||
|
||||
return info;
|
||||
}
|
||||
@@ -92,9 +92,9 @@ namespace Emby.Server.Implementations.Social
|
||||
}
|
||||
}
|
||||
|
||||
public Task DeleteShare(string id)
|
||||
public void DeleteShare(string id)
|
||||
{
|
||||
return _repository.DeleteShare(id);
|
||||
_repository.DeleteShare(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user