mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-30 21:46:41 +07:00
auth: getting viewer_id and access_token
This commit is contained in:
parent
e8a2e04562
commit
678f2b17a4
3 changed files with 17 additions and 3 deletions
src/utils
|
@ -8,5 +8,4 @@ export const toHours = (info) => {
|
|||
return `${hrs}:${lmin}`;
|
||||
};
|
||||
|
||||
|
||||
export const toTranslit = string => ru.reduce((text, el, i) => (text.replace(new RegExp(ru[i], 'g'), en[i])), (String(string) || ''));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue