View difference between Paste ID: m8mMGhx0 and eu9Bc95u
SHOW: | | - or go back to the newest paste.
1-
func logSearch_startedEvent(
1+
func logSearch_finishedEvent(
2
    sessionHash: String
3
    userId: String
4
    appMode: String
5-
    tags: String
5+
6
    let parameters = [
7
        AppEvents.ParameterName("sessionHash").rawValue: sessionHash,
8
        AppEvents.ParameterName("userId").rawValue: userId,
9
        AppEvents.ParameterName("appMode").rawValue: appMode
10-
        AppEvents.ParameterName("appMode").rawValue: appMode,
10+
11-
        AppEvents.ParameterName("tags").rawValue: tags
11+
12
    AppEvents.logEvent(.init("search_finished"), parameters: parameters)
13
}