mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
add mimeType to analytics (#4802)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
This commit is contained in:
parent
8bc653388c
commit
47af218532
@ -713,7 +713,11 @@ class App extends PureComponent<AppProps, State> {
|
||||
|
||||
// Update request stats
|
||||
models.stats.incrementExecutedRequests();
|
||||
trackSegmentEvent(SegmentEvent.requestExecute, { preferredHttpVersion: settings.preferredHttpVersion, authenticationType: request.authentication?.type });
|
||||
trackSegmentEvent(SegmentEvent.requestExecute, {
|
||||
preferredHttpVersion: settings.preferredHttpVersion,
|
||||
authenticationType: request.authentication?.type,
|
||||
mimeType: request.body.mimeType,
|
||||
});
|
||||
// Start loading
|
||||
handleStartLoading(requestId);
|
||||
|
||||
@ -800,7 +804,11 @@ class App extends PureComponent<AppProps, State> {
|
||||
|
||||
// Update request stats
|
||||
models.stats.incrementExecutedRequests();
|
||||
trackSegmentEvent(SegmentEvent.requestExecute, { preferredHttpVersion: settings.preferredHttpVersion, authenticationType: request.authentication?.type });
|
||||
trackSegmentEvent(SegmentEvent.requestExecute, {
|
||||
preferredHttpVersion: settings.preferredHttpVersion,
|
||||
authenticationType: request.authentication?.type,
|
||||
mimeType: request.body.mimeType,
|
||||
});
|
||||
handleStartLoading(requestId);
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user