fix
parent
fff49ed25b
commit
1836aadeba
|
|
@ -61,7 +61,7 @@ async def load_schemas():
|
|||
with open(os.path.join(schema_dir, schema_name), encoding="utf-8") as f:
|
||||
content = f.read()
|
||||
avaliable_schemas.append({
|
||||
"name": schema_name.strip(".ts"),
|
||||
"name": schema_name.rstrip(".ts"),
|
||||
"schema": content,
|
||||
"hash": lambda_hash(content)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue