Moved contents of seasoned_api up to root folder

This commit is contained in:
2022-08-19 01:03:27 +02:00
parent 0efc109992
commit 56262a45c8
134 changed files with 885 additions and 32 deletions

View File

@@ -0,0 +1,11 @@
const User = require('src/user/user');
const UserSecurity = require('src/user/userSecurity');
function createUser(username, password) {
const userSecurity = new UserSecurity();
const user = new User(username)
return Promise.resolve(userSecurity.createNewUser(user, password))
}
module.exports = createUser;