diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index d2000671..617db951 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -2232,7 +2232,7 @@ export class CommandController extends Controller { _profile.posTypeId = _null; _profile.posLevelId = _null; } - await this.profileRepository.save(profile); + await this.profileRepository.save(_profile); } }), );