rename things
This commit is contained in:
+2
-2
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user