Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
rollback events decodeEvent static method accesibility level
Browse files Browse the repository at this point in the history
  • Loading branch information
karkakol committed Jan 24, 2024
1 parent 4a8e818 commit 58ea2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MembraneRTC/Events/Event.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal struct ReceivableEventBase: Decodable {
}

public enum Events {
public static func decodeEvent<T: Decodable>(from data: Data) -> T? {
internal static func decodeEvent<T: Decodable>(from data: Data) -> T? {
do {
return try JSONDecoder().decode(T.self, from: data)
} catch {
Expand Down

0 comments on commit 58ea2dc

Please sign in to comment.