Skip to content

Commit

Permalink
fix: add default value for frames options
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-ossai-cko committed Apr 23, 2024
1 parent f4e63e7 commit 80fabe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Risk/RiskSDKConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public struct RiskConfig {
let environment: RiskEnvironment
let framesOptions: FramesOptions?

public init(publicKey: String, environment: RiskEnvironment, framesOptions: FramesOptions?) {
public init(publicKey: String, environment: RiskEnvironment, framesOptions: FramesOptions? = nil) {
self.publicKey = publicKey
self.environment = environment
self.framesOptions = framesOptions
Expand Down

0 comments on commit 80fabe8

Please sign in to comment.