Skip to content

Commit

Permalink
hjtest 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Helen Jiang authored and Helen Jiang committed Oct 24, 2024
1 parent 16d656c commit 67ef08d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resources/timingSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export function serializeEntryToArray(entry: PerformanceResourceTiming) {
try {
const serverTimings = entry['serverTiming'];
if (serverTimings instanceof Array) {
for (const element of serverTimings) {
const serverTiming = element;
for (let i = 0; i < serverTimings.length; i++) {
const serverTiming = serverTimings[i];
if (serverTiming['name'] === vars.serverTimingBackendTraceIdEntryName) {
backendTraceId = serverTiming['description'];
if (isCached) {
Expand Down

0 comments on commit 67ef08d

Please sign in to comment.