Skip to content

Commit d5da516

Browse files
committed
respect that text can be null, make it an Option<String>
1 parent 3947e3c commit d5da516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/player.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub struct Note {
8383
id: i64,
8484
player_id: i64,
8585
admin_id: i64,
86-
text: String,
86+
text: Option<String>,
8787
date: String,
8888
is_ban: i32,
8989
ban_time: Option<i64>,

0 commit comments

Comments
 (0)