rename things

This commit is contained in:
ntr
2018-09-15 14:36:34 +10:00
parent f2a6aa01c3
commit a68c2c31ab
4 changed files with 28 additions and 17 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ function user_login(res) {
user = created;
console.log(created);
return send({ method: 'cryp_generate', params: { level: 64 }});
return send({ method: 'cryp_spawn', params: { level: 64 }});
}
function new_cryp(cryp) {
@@ -22,7 +22,7 @@ function new_cryp(cryp) {
}
const handlers = {
'cryp_generate': new_cryp,
'cryp_spawn': new_cryp,
'user_login': user_login,
'user_create': user_login,
};