This commit is contained in:
Jamie.Rees 2016-11-10 13:37:51 +00:00
commit 8a61371048
10 changed files with 243 additions and 7 deletions

View file

@ -80,7 +80,7 @@ namespace PlexRequests.Core.Queue
var existingItem = await RequestQueue.CustomAsync(async connection =>
{
connection.Open();
var result = await connection.QueryAsync<RequestQueue>("select * from RequestQueue where PrimaryIdentifier = @ProviderId", new { ProviderId = id });
var result = await connection.QueryAsync<RequestQueue>("select * from RequestFaultQueue where PrimaryIdentifier = @ProviderId", new { ProviderId = id });
return result;
});