mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-05 11:39:07 +00:00
FEAT: update hardcoded separator
This commit is contained in:
@@ -42,7 +42,7 @@ export class MixpanelController {
|
||||
username = username.split('+')?.[0];
|
||||
|
||||
let firstName = username.substring(0, username.indexOf(separator));
|
||||
let lastName = username.substring(username.lastIndexOf('.') + 1);
|
||||
let lastName = username.substring(username.lastIndexOf(separator) + 1);
|
||||
|
||||
if (!firstName) {
|
||||
firstName = lastName;
|
||||
|
||||
Reference in New Issue
Block a user