Skip to content
Snippets Groups Projects
Commit 47cac5fe authored by Ferenc Schulcz's avatar Ferenc Schulcz
Browse files

Fix ramDB

parent b8e5cd86
No related branches found
No related tags found
No related merge requests found
......@@ -59,11 +59,11 @@ function updateDomain(domain, token, ip) {
function insertDomain(domain, token, ip) {
return new Promise((resolve, reject) => {
const record = new Domain({
const record = {
name: domain,
token: token,
ip: ip
});
};
ramDB.push(record);
resolve();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment