remove status relation

This commit is contained in:
yggverse 2024-11-02 04:57:17 +02:00
parent e3a6796627
commit 9f2d9ce110

View File

@ -43,17 +43,6 @@ impl Meta {
// Setters
pub fn set_status(&self, status: Status) -> &Self {
match status {
Status::Redirect => {
if self.redirect.borrow().is_none() {
panic!("Set `redirect` before use this status")
}
}
_ => {
self.unset_redirect();
}
};
self.status.replace(status);
self
}