Skip to content

Commit

Permalink
DXOC-831 Fix codegen for Swift/Objective-C
Browse files Browse the repository at this point in the history
  • Loading branch information
falconandy committed May 14, 2023
1 parent 3984120 commit 0a72047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#import "Ampli.h"
#import "Amplitude.h"
#import "AMPPlan.h"
#import "AMPConstants.h"

@implementation Event: NSObject

Expand Down
2 changes: 1 addition & 1 deletion ios/swift/AmpliSwiftSampleApp/Shared/Ampli/Ampli.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class Identify : GenericEvent<Identify> {

private init(_ eventProperties: [String: Any?]?, _ options: EventOptions? = nil) {
super.init(
eventType: Constants.IDENTIFY_EVENT,
eventType: "$identify",
eventProperties: eventProperties,
options: options,
eventFactory: Identify.init
Expand Down

0 comments on commit 0a72047

Please sign in to comment.