Skip to content

Commit de13e02

Browse files
author
Adrian Salceanu
committed
fix route delete issue
1 parent 81eeec4 commit de13e02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Genie"
22
uuid = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
33
authors = ["The amazing Genie contributors ♥️"]
4-
version = "5.33.5"
4+
version = "5.33.6"
55

66
[deps]
77
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"

src/Router.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ end
227227

228228

229229
function Base.push!(collection, name::Symbol, item::Union{Route,Channel})
230-
delete!(collection, name)[name] = item # this is to ensure that the item is always the last one in the collection
230+
Base.delete!(collection, name)[name] = item # this is to ensure that the item is always the last one in the collection
231231
end
232232

233233

0 commit comments

Comments
 (0)