refac
This commit is contained in:
1 parent
e96d139180
commit
7ede54ee0a
2 files changed
+2
-2
No files matched your search
@@ -118,7 +118,7 @@
|
||||
text = text.replaceAll('{{USER_LOCATION}}', String(location));
|
||||
}
|
||||
|
||||
const sessionUser = getSessionUser(localStorage.token);
|
||||
const sessionUser = await getSessionUser(localStorage.token);
|
||||
|
||||
if (text.includes('{{USER_NAME}}')) {
|
||||
const name = sessionUser?.name || 'User';
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
text = text.replaceAll('{{USER_LOCATION}}', String(location));
|
||||
}
|
||||
|
||||
const sessionUser = getSessionUser(localStorage.token);
|
||||
const sessionUser = await getSessionUser(localStorage.token);
|
||||
|
||||
if (text.includes('{{USER_NAME}}')) {
|
||||
const name = sessionUser?.name || 'User';
|
||||
|
||||
Reference in new issue
Block a user