/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/api/src/app/shared/utils/request-transaction.util.ts
9 строк
319 B
George Djabarov
feat(api-service): implement request traces (#8808)
07 авг 2025, 16:53
Не верифицирован
07 авг 2025, 16:53
733dc82
Код
Авторство
О чём код?
import { RequestWithReqId } from '../middleware/request-id.middleware'; /** * Extracts the request ID from the request object without fallback. * Returns undefined if no request ID is attached to the request. */ export function getRequestId(req: RequestWithReqId): string | undefined { return req._nvRequestId; }