File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/integrations/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
2
import { Event , EventProcessor , Hub , Integration } from '@sentry/types' ;
3
- import { getGlobalObject , logger , uuid4 } from '@sentry/utils' ;
3
+ import { getGlobalObject , logger , normalize , uuid4 } from '@sentry/utils' ;
4
4
import * as localForageType from 'localforage' ;
5
5
6
6
// eslint-disable-next-line @typescript-eslint/no-var-requires
@@ -98,7 +98,7 @@ export class Offline implements Integration {
98
98
* @param event an event
99
99
*/
100
100
private async _cacheEvent ( event : Event ) : Promise < Event > {
101
- return this . offlineEventStore . setItem < Event > ( uuid4 ( ) , event ) ;
101
+ return this . offlineEventStore . setItem < Event > ( uuid4 ( ) , normalize ( event ) ) ;
102
102
}
103
103
104
104
/**
You can’t perform that action at this time.
0 commit comments