forked from alemi/upub
fix: for batch loading use object id
This commit is contained in:
parent
399022ef86
commit
62628ea076
1 changed files with 3 additions and 3 deletions
|
@ -343,19 +343,19 @@ mod hell {
|
|||
|
||||
impl BatchFillableKey for crate::model::attachment::Model {
|
||||
fn key(&self) -> i64 {
|
||||
self.internal
|
||||
self.object
|
||||
}
|
||||
}
|
||||
|
||||
impl BatchFillableKey for crate::model::mention::Model {
|
||||
fn key(&self) -> i64 {
|
||||
self.internal
|
||||
self.object
|
||||
}
|
||||
}
|
||||
|
||||
impl BatchFillableKey for crate::model::hashtag::Model {
|
||||
fn key(&self) -> i64 {
|
||||
self.internal
|
||||
self.object
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue