website refactor
This commit is contained in:
@@ -25,7 +25,6 @@ export class WebsiteAuthManager {
|
||||
const apiBaseUrl = process.env.API_BASE_URL || 'http://localhost:3101';
|
||||
|
||||
const role = (typeof requestOrRole === 'string' ? requestOrRole : maybeRole) as AuthRole;
|
||||
const request = typeof requestOrRole === 'string' ? null : requestOrRole;
|
||||
|
||||
// If using API login, create context with cookies pre-set
|
||||
if (typeof requestOrRole !== 'string') {
|
||||
|
||||
Reference in New Issue
Block a user