Skip to content

Commit

Permalink
ForwardingFilter 初期化時の action を必須に戻す
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jan 11, 2024
1 parent a37be4a commit d3c7127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sora/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public struct ForwardingFilter {
- parameter action: action
- parameter rules: rules
*/
public init(action: ForwardingFilterAction = .block, rules: [[ForwardingFilterRule]], version: String? = nil, metadata: Encodable? = nil) {
public init(action: ForwardingFilterAction, rules: [[ForwardingFilterRule]], version: String? = nil, metadata: Encodable? = nil) {
self.action = action
self.rules = rules
self.version = version
Expand Down

0 comments on commit d3c7127

Please sign in to comment.