chore(docs): Generated API Reference (#4014)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a5707b48fc
commit
0dbca9552e
@@ -3,6 +3,7 @@ const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
|
||||
medusa.admin.auth.createSession({
|
||||
email: 'user@example.com',
|
||||
password: 'supersecret'
|
||||
}).then((({ user }) => {
|
||||
})
|
||||
.then(({ user }) => {
|
||||
console.log(user.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user