@@ -69,7 +69,6 @@ class ParentshipController(
69
69
Audit .ParentShipsCreate .log(
70
70
targetId = AuditId (listOf (body.headOfChildId, body.childId)),
71
71
objectId = AuditId (parentship.id),
72
- meta = mapOf (" modifiedBy" to user.evakaUserId),
73
72
)
74
73
}
75
74
@@ -166,12 +165,7 @@ class ParentshipController(
166
165
}
167
166
Audit .ParentShipsUpdate .log(
168
167
targetId = AuditId (id),
169
- meta =
170
- mapOf (
171
- " startDate" to body.startDate,
172
- " endDate" to body.endDate,
173
- " modifiedBy" to user.evakaUserId,
174
- ),
168
+ meta = mapOf (" startDate" to body.startDate, " endDate" to body.endDate),
175
169
)
176
170
}
177
171
@@ -223,10 +217,7 @@ class ParentshipController(
223
217
parentshipService.deleteParentship(tx, clock, id)
224
218
}
225
219
}
226
- Audit .ParentShipsDelete .log(
227
- targetId = AuditId (id),
228
- meta = mapOf (" deletedBy" to user.evakaUserId),
229
- )
220
+ Audit .ParentShipsDelete .log(targetId = AuditId (id))
230
221
}
231
222
232
223
data class ParentshipRequest (
0 commit comments