fix
This commit is contained in:
parent
ec0ed5c630
commit
9e6765d83c
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ export function sanitizeFileName(fileName: string): string {
|
||||||
export function removeAccent(str: string): string {
|
export function removeAccent(str: string): string {
|
||||||
if (!str) return str;
|
if (!str) return str;
|
||||||
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
||||||
|
}
|
||||||
|
|
||||||
export function extractBearerTokenFromHeader(
|
export function extractBearerTokenFromHeader(
|
||||||
request: FastifyRequest,
|
request: FastifyRequest,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue