1
0
Fork 0
forked from alemi/upub

fix: for batch loading use object id

This commit is contained in:
əlemi 2024-06-22 04:34:00 +02:00
parent 399022ef86
commit 62628ea076
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -343,19 +343,19 @@ mod hell {
impl BatchFillableKey for crate::model::attachment::Model { impl BatchFillableKey for crate::model::attachment::Model {
fn key(&self) -> i64 { fn key(&self) -> i64 {
self.internal self.object
} }
} }
impl BatchFillableKey for crate::model::mention::Model { impl BatchFillableKey for crate::model::mention::Model {
fn key(&self) -> i64 { fn key(&self) -> i64 {
self.internal self.object
} }
} }
impl BatchFillableKey for crate::model::hashtag::Model { impl BatchFillableKey for crate::model::hashtag::Model {
fn key(&self) -> i64 { fn key(&self) -> i64 {
self.internal self.object
} }
} }