Skip to content

Commit

Permalink
feat(performance): add missing methods (#505)
Browse files Browse the repository at this point in the history
Change return of getAttributes on the web.
  • Loading branch information
ebarooni committed Dec 7, 2024
1 parent b313185 commit f5db8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/performance/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class FirebasePerformanceWeb
}: GetAttributesOptions): Promise<GetAttributesResult> {
const trace = this.traces[traceName];
if (!trace) throw new Error(traceNotFoundError);
return { value: trace.getAttributes() };
return { result: trace.getAttributes() };
}

public async removeAttribute({
Expand Down

0 comments on commit f5db8be

Please sign in to comment.