Update machine-uuid-mysql.js

This commit is contained in:
Namhyeon Go 2024-07-15 00:36:44 +09:00 committed by GitHub
parent ace15e3248
commit 2064d40bc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,9 +27,14 @@ function register() {
function main(args) { function main(args) {
var result = register(); var result = register();
var last_id = result.last_id;
var status = result.status;
console.log("LAST_ID: " + last_id); if (status == 200) {
var last_id = result.last_id;
console.log("LAST_ID: " + last_id);
} else {
console.error("Error code: " + status);
}
} }
exports.main = main; exports.main = main;