mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
fix: Update telemetryServiceId references to serviceId in ExceptionUtil for consistency
This commit is contained in:
parent
2dc2f3bf36
commit
f016c02dfb
1 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ export default class ExceptionUtil {
|
|||
query: {
|
||||
fingerprint: fingerprint,
|
||||
projectId: exception.projectId,
|
||||
telemetryServiceId: exception.serviceId,
|
||||
serviceId: exception.serviceId,
|
||||
},
|
||||
select: {
|
||||
_id: true,
|
||||
|
|
@ -275,7 +275,7 @@ export default class ExceptionUtil {
|
|||
const newExceptionStatus: TelemetryException = new TelemetryException();
|
||||
newExceptionStatus.fingerprint = exception.fingerprint;
|
||||
newExceptionStatus.projectId = exception.projectId;
|
||||
newExceptionStatus.telemetryServiceId = exception.serviceId;
|
||||
newExceptionStatus.serviceId = exception.serviceId;
|
||||
newExceptionStatus.lastSeenAt = OneUptimeDate.now();
|
||||
newExceptionStatus.firstSeenAt = OneUptimeDate.now();
|
||||
newExceptionStatus.occuranceCount = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue