Skip to content

Commit 483f27c

Browse files
authored
fix(api): make crate id lowercase (#164)
1 parent 76278e7 commit 483f27c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/crates/api.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ local function fetch_crate(name, callbacks)
532532
local refetch = false
533533
---@param id string
534534
local function fetch_index(id)
535+
id = string.lower(id)
535536
---@type string
536537
local url
537538
if #id == 1 then

0 commit comments

Comments
 (0)