fix: add warp issue

This commit is contained in:
hiddify-com
2024-07-26 13:34:49 +02:00
parent 02e516a2d8
commit 3c8420a3d5
2 changed files with 3 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ class ProfileRepositoryImpl with ExceptionHandler, InfraLogger implements Profil
.flatMap(
(remoteProfile) => TaskEither(
() async {
final profilePatch = remoteProfile.subInfoPatch().copyWith(lastUpdate: Value(DateTime.now()));
final profilePatch = remoteProfile.subInfoPatch().copyWith(lastUpdate: Value(DateTime.now()), active: Value(baseProfile.active));
await profileDataSource.edit(
baseProfile.id,