This commit is contained in:
2026-08-16 22:48:13 +02:00
parent 07f4a76d74
commit 07f8d5fe73
5 changed files with 61 additions and 9 deletions
+1
View File
@@ -137,6 +137,7 @@ pub async fn create(
id: Set(id),
server_id: Set(server_id),
name: Set(String::new()),
supports_skin_tone: Set(false),
emoji_type: Set(emoji_type),
unicode_sequence: Set(unicode_sequence),
file_path: Set(path),
+1
View File
@@ -7,6 +7,7 @@ pub fn response(model: emoji::Model) -> EmojiResponse {
emoji_type: model.emoji_type,
unicode_sequence: model.unicode_sequence,
name: model.name,
supports_skin_tone: model.supports_skin_tone,
asset_url: model
.file_path
.as_ref()