mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
use named function
This commit is contained in:
parent
5bf264f0b4
commit
a9b1d82ee0
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
Accounts.onCreateUser(function(options, user){
|
function telescopeCreateUserCallback (options, user) {
|
||||||
user = Telescope.callbacks.run("onCreateUser", user, options);
|
user = Telescope.callbacks.run("onCreateUser", user, options);
|
||||||
return user;
|
return user;
|
||||||
});
|
};
|
||||||
|
|
||||||
|
Accounts.onCreateUser(telescopeCreateUserCallback);
|
Loading…
Add table
Reference in a new issue