Skip to content

Commit

Permalink
fix(bug): Instance not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Jul 12, 2023
1 parent 37802b4 commit 71536be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GZCTF/Repositories/InstanceRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public InstanceRepository(AppDbContext _context,
// static flag does not need to be dispatched

instance.IsLoaded = true;
await SaveAsync(token);
await transaction.CommitAsync(token);
}
catch
Expand Down

0 comments on commit 71536be

Please sign in to comment.