diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/src/api.rs | 4 | ||||
| -rw-r--r-- | common/src/routes.rs | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/common/src/api.rs b/common/src/api.rs index c25405d..2aac57b 100644 --- a/common/src/api.rs +++ b/common/src/api.rs @@ -34,8 +34,8 @@ fields! { NKU_ROLE: &str = 2027 "role"; NODELIST_TITLE: &str = 2007 "title"; - NODELIST_DISPLAYSTYLE: &str = 2008 "displaystyle"; - NODELIST_ITEM: &str = 2009 "item"; + NODELIST_DISPLAYSTYLE: Tag = 2008 "displaystyle"; + NODELIST_ITEM: Object = 2009 "item"; MESSAGE_KIND: &str = 2029 "kind"; MESSAGE_TEXT: &str = 2030 "text"; diff --git a/common/src/routes.rs b/common/src/routes.rs index 1d3a8da..fcef144 100644 --- a/common/src/routes.rs +++ b/common/src/routes.rs @@ -94,6 +94,3 @@ pub fn u_stats() -> String { pub fn u_search() -> String { "/search".to_owned() } -pub fn u_asset(token: &str, size: usize) -> String { - format!("/asset/{token}?size={size}") -} |