mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
main as user.db, then attach readonly db's
This commit is contained in:
1 parent
d96346bfea
commit
fa5bfb56b0
11 files changed
+526
-435
No files matched your search
@@ -1,6 +1 @@
|
||||
use crate::{error::CJDicError, service::AppService};
|
||||
|
||||
pub fn list_entries_json(service: &AppService) -> Result<String, CJDicError> {
|
||||
let entries = service.list_entries()?;
|
||||
Ok(serde_json::to_string(&entries)?)
|
||||
}
|
||||
Reference in new issue
Block a user