From 59cc959a3ecd7fe49ea81d3e4c7f0daf60719c52 Mon Sep 17 00:00:00 2001 From: Panagiotis Georgakopoulos Date: Wed, 5 Jul 2023 19:02:33 +0300 Subject: [PATCH] remove type assert to Array --- src/webserver/Dynamic.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver/Dynamic.jl b/src/webserver/Dynamic.jl index 71d29f189f..8fcfe2a21d 100644 --- a/src/webserver/Dynamic.jl +++ b/src/webserver/Dynamic.jl @@ -186,7 +186,7 @@ function send_notebook_changes!(🙋::ClientRequest; commentary::Any=nothing, sk if client.connected_notebook !== nothing && client.connected_notebook.notebook_id == 🙋.notebook.notebook_id current_dict = get(current_state_for_clients, client, :empty) patches = Firebasey.diff(current_dict, notebook_dict) - patches_as_dicts::Array{Dict} = Firebasey._convert(Array{Dict}, patches) + patches_as_dicts = Firebasey._convert(Vector{Dict}, patches) current_state_for_clients[client] = deep_enough_copy(notebook_dict) # Make sure we do send a confirmation to the client who made the request, even without changes