commit a4baebc28e55d7591080b64da5257c85af9d4994
parent ea772682eee4f17372376d1aee4a98b971e9d8e1
Author: iostpa <iostpa@iostpa.com>
Date: Fri, 5 Jun 2026 19:55:26 +0300
Fix the initial low priority system using the wrong time
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
@@ -328,7 +328,7 @@ If you need any help, please create an issue or ask our team in the [Discord ser
body: lowPriorityMessage
});
console.log(`Sent low priority message to #${payload.pull_request.number} from https://github.com/${payload.repository.full_name}`);
- await conn.query("INSERT INTO LIST VALUES (?, ?, ?, ?, ?)", [payload.pull_request.user.login, payload.pull_request.number, payload.pull_request.created_at, payload.repository.owner.login, payload.repository.name]);
+ await conn.query("INSERT INTO LIST VALUES (?, ?, ?, ?, ?)", [payload.pull_request.user.login, payload.pull_request.number, payload.pull_request.updated_at, payload.repository.owner.login, payload.repository.name]);
console.log(`Logged #${payload.pull_request.number} from https://github.com/${payload.repository.full_name} to the low priority database.`);
}
} catch (error) {