Skip to content

Commit d892671

Browse files
authored
Update swift-destination-filters.md
Fix Plugin code
1 parent 68f7a1f commit d892671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/mobile/apple/swift-destination-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To get started with destination filters using Swift:
1919
After you install the package, import the package with `import DestinationFilters_Swift` to reference the Destination Filters plugin.
2020
2. Add the plugin.
2121
```swift
22-
analytics.add(DestinationFilters())
22+
analytics.add(plugin: DestinationFilters())
2323
```
2424

2525
Use destination filters to prevent certain data from flowing into a destination. You can conditionally filter out event properties, traits, and fields, or even filter out the event itself.

0 commit comments

Comments
 (0)