mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 13:16:39 +00:00
Forgot to lint
This commit is contained in:
parent
7b676037df
commit
d519769fff
@ -229,7 +229,7 @@ pub fn validate(post: &mut Post) {
|
||||
}
|
||||
|
||||
if post.truncated_description.is_empty() {
|
||||
post.score = post.score / 2;
|
||||
post.score /= 2;
|
||||
};
|
||||
|
||||
if !is_valid_url(post.link.as_str()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user