Skip to content

Commit

Permalink
chore: remove azr prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Mar 20, 2023
1 parent 03aac22 commit 43c1c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/utils/errorResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export function generateErrorResponse(err: Error) {
function generateRequestId(): string {
const uniqueId = generateRequestUniqueId()
const now = new Date().getTime()
return `${now}.azr-${uniqueId}`
return `${now}.${uniqueId}`
}

function generateRequestUniqueId(): string {
return generateRandomString(2)
return generateRandomString(6)
}

function generateRandomString(length: number): string {
Expand Down

0 comments on commit 43c1c4f

Please sign in to comment.