Skip to content

Commit

Permalink
test: Fix MetricKit attachment filename (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann authored Nov 14, 2022
1 parent 46deabf commit cd8dad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/iOS-Swift/iOS-Swift/Tools/MetricKitManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MetricKitManager: NSObject, MXMetricManagerSubscriber {
func didReceive(_ payloads: [MXMetricPayload]) {
var attachments: [Attachment] = []
for payload in payloads {
let attachment = Attachment(data: payload.jsonRepresentation(), filename: "MXDiagnosticPayload.json")
let attachment = Attachment(data: payload.jsonRepresentation(), filename: "MXMetricPayload.json")
attachments.append(attachment)
}

Expand Down

0 comments on commit cd8dad3

Please sign in to comment.