fixed audit logs for device profile

This commit is contained in:
YevhenBondarenko 2020-12-30 17:39:03 +02:00 committed by Andrew Shvayka
parent d7fa77438f
commit bcfc7cc733

View File

@ -151,7 +151,7 @@ public class DeviceProfileController extends BaseController {
logEntityAction(savedDeviceProfile.getId(), savedDeviceProfile,
null,
savedDeviceProfile.getId() == null ? ActionType.ADDED : ActionType.UPDATED, null);
created ? ActionType.ADDED : ActionType.UPDATED, null);
return savedDeviceProfile;
} catch (Exception e) {