Skip to content

Commit

Permalink
♻️ refactor: update codebase #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Dec 9, 2024
1 parent 896baca commit 073e0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,9 @@ func (m *meta) RequestID() string {
if !m.Available() {
return ""
}
if unify4g.IsEmpty(m.requestID) || unify4g.IsBlank(m.requestID) {
m.WithRequestID(unify4g.GenerateCryptoID())
}
return m.requestID
}

Expand Down

0 comments on commit 073e0be

Please sign in to comment.