Skip to content

Commit 5e50873

Browse files
committed
revert all the changes except for fixing the panic
1 parent dceee29 commit 5e50873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl FileList {
104104
return None;
105105
}
106106

107-
let files: Json = rows.get(0).get(5);
107+
let files: Json = rows.get(0).get_opt(5).unwrap().ok()?;
108108

109109
let mut file_list: Vec<File> = Vec::new();
110110

0 commit comments

Comments
 (0)