Skip to content

Commit d676524

Browse files
committed
feat: cast timestamp to string
1 parent 86ce287 commit d676524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/swift/Sources/Services/Realtime.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ extension Realtime: WebSocketClientDelegate {
209209
let response = RealtimeResponseEvent(
210210
events: events,
211211
channels: channels,
212-
timestamp: data["timestamp"] as! Int64,
212+
timestamp: data["timestamp"] as! String,
213213
payload: payload
214214
)
215215
subscription.value.callback(response)

0 commit comments

Comments
 (0)