diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-17 00:17:48 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-17 00:17:48 +0100 |
| commit | ee59ba81602a209c2262846032d7e936cb2e8d1f (patch) | |
| tree | 054fdb7614f17fd658aca6655e49d315b57d1e19 /common | |
| parent | f8b6afd57efc1a9e7e12fe1316bc45dcc6f32470 (diff) | |
| download | jellything-ee59ba81602a209c2262846032d7e936cb2e8d1f.tar jellything-ee59ba81602a209c2262846032d7e936cb2e8d1f.tar.bz2 jellything-ee59ba81602a209c2262846032d7e936cb2e8d1f.tar.zst | |
node page
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}") -} |