mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
#1513 correctly set the child requests as approved
This commit is contained in:
parent
0de8494b9e
commit
cd5cc1fe26
4 changed files with 65 additions and 19 deletions
|
@ -91,15 +91,15 @@ namespace Ombi.Store.Repository.Requests
|
|||
|
||||
public async Task Update(TvRequests request)
|
||||
{
|
||||
Db.Attach(request).State = EntityState.Modified;
|
||||
Db.Update(request);
|
||||
|
||||
await Db.SaveChangesAsync();
|
||||
}
|
||||
|
||||
public async Task UpdateChild(ChildRequests request)
|
||||
{
|
||||
Db.Attach(request).State = EntityState.Modified;
|
||||
|
||||
Db.Update(request);
|
||||
|
||||
await Db.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue