Browse Source

fixed audit logs for device profile

pull/3916/head
YevhenBondarenko 6 years ago
committed by Andrew Shvayka
parent
commit
bcfc7cc733
  1. 2
      application/src/main/java/org/thingsboard/server/controller/DeviceProfileController.java

2
application/src/main/java/org/thingsboard/server/controller/DeviceProfileController.java

@ -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) {

Loading…
Cancel
Save