diff options
Diffstat (limited to 'entity/src/users.rs')
| -rw-r--r-- | entity/src/users.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/entity/src/users.rs b/entity/src/users.rs index 6628c9e..4455f4a 100644 --- a/entity/src/users.rs +++ b/entity/src/users.rs | |||
| @@ -39,10 +39,7 @@ impl Related<super::queue_elements::Entity> for Entity { | |||
| 39 | 39 | ||
| 40 | impl Related<super::queues::Entity> for Entity { | 40 | impl Related<super::queues::Entity> for Entity { |
| 41 | fn to() -> RelationDef { | 41 | fn to() -> RelationDef { |
| 42 | super::access_to_queue::Relation::Queues.def() | 42 | Relation::Queues.def() |
| 43 | } | ||
| 44 | fn via() -> Option<RelationDef> { | ||
| 45 | Some(super::access_to_queue::Relation::Users.def().rev()) | ||
| 46 | } | 43 | } |
| 47 | } | 44 | } |
| 48 | 45 | ||
