From 71536be71188c438d82ab35303d649d4a159bdf8 Mon Sep 17 00:00:00 2001 From: GZTime Date: Wed, 12 Jul 2023 14:38:31 +0800 Subject: [PATCH] fix(bug): Instance not saved --- src/GZCTF/Repositories/InstanceRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GZCTF/Repositories/InstanceRepository.cs b/src/GZCTF/Repositories/InstanceRepository.cs index 7aa15adfc..36cbaa872 100644 --- a/src/GZCTF/Repositories/InstanceRepository.cs +++ b/src/GZCTF/Repositories/InstanceRepository.cs @@ -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