Merge pull request #3382 from bluewave-labs/fix/ts-errors

fix: resolve ts errors
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-03-06 09:19:02 -08:00
commit a4e4e1313e
14 files changed
+10 -15

No files matched your search

@@ -194,4 +194,3 @@ export class CheckService implements ICheckService {
throw new AppError({ message: "Not implemented", service: SERVICE_NAME, method: "updateChecksTTL", status: 500, details: { teamId, ttl } });
};
}
@@ -107,4 +107,3 @@ export class DiagnosticService implements IDiagnosticService {
return diagnostics;
};
}
@@ -188,4 +188,3 @@ export class GeoChecksService implements IGeoChecksService {
return result;
};
}
@@ -266,4 +266,3 @@ export class IncidentService implements IIncidentService {
}
};
}
@@ -94,4 +94,3 @@ export class InviteService implements IInviteService {
return await this.invitesRepository.findByToken(inviteToken);
};
}
@@ -96,4 +96,3 @@ export class MaintenanceWindowService implements IMaintenanceWindowService {
return await this.maintenanceWindowsRepository.updateById(id, teamId, body);
};
}
+10 -2
View File
@@ -141,7 +141,7 @@ export class UserService implements IUserService {
message: "New user created",
service: SERVICE_NAME,
method: "registerUser",
details: newUser.id,
details: { userId: newUser.id },
});
delete newUser.profileImage;
@@ -205,7 +205,7 @@ export class UserService implements IUserService {
message: "New user created by superadmin",
service: SERVICE_NAME,
method: "createUser",
details: newUser.id,
details: { userId: newUser.id },
});
newUser.profileImage = undefined;
@@ -280,6 +280,14 @@ export class UserService implements IUserService {
email,
url,
});
if (!html) {
throw new AppError({
message: "Failed to build password reset email HTML",
service: SERVICE_NAME,
method: "requestRecovery",
status: 500,
});
}
const msgId = await this.emailService.sendEmail(email, "Checkmate Password Reset", html);
return msgId;
};
@@ -289,4 +289,3 @@ export class SuperSimpleQueue implements ISuperSimpleQueue {
});
};
}
@@ -412,4 +412,3 @@ export class SuperSimpleQueueHelper implements ISuperSimpleQueueHelper {
return decision;
}
}
@@ -177,4 +177,3 @@ export class BufferService implements IBufferService {
}
}
}
@@ -178,4 +178,3 @@ export class EmailService implements IEmailService {
}
};
}
@@ -206,4 +206,3 @@ export class GlobalPingService implements IGlobalPingService {
return new Promise((resolve) => setTimeout(resolve, ms));
}
}
@@ -197,4 +197,3 @@ export class NetworkService implements INetworkService {
}
}
}
@@ -74,4 +74,3 @@ export class SettingsService implements ISettingsService {
return settings;
};
}