|
|
|
@ -128,7 +128,7 @@ async function addToApprovalQueue(req, userData) {
|
|
|
|
|
if (meta.config.showAverageApprovalTime) {
|
|
|
|
|
const average_time = await db.getObjectField('registration:queue:approval:times', 'average');
|
|
|
|
|
if (average_time > 0) {
|
|
|
|
|
message += ` [[register:registration-queue-average-time, ${Math.floor(average_time / 60)}, ${average_time % 60}]]`;
|
|
|
|
|
message += ` [[register:registration-queue-average-time, ${Math.floor(average_time / 60)}, ${Math.floor(average_time % 60)}]]`;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (meta.config.autoApproveTime > 0) {
|
|
|
|
|