diff options
| author | Tolmachev Igor <me@igorek.dev> | 2025-09-27 13:48:50 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2025-09-27 13:48:50 +0300 |
| commit | 413708f2baa3987b4b8c7c727eeee8cfd8d59f73 (patch) | |
| tree | b108339ad2b2c78b9b01c8c413ab54ab1e673168 /entity/src/users.rs | |
| parent | 974c8c586e1182d502a2c30ba8b622c0b4033937 (diff) | |
| download | queue_server-413708f2baa3987b4b8c7c727eeee8cfd8d59f73.tar.gz queue_server-413708f2baa3987b4b8c7c727eeee8cfd8d59f73.zip | |
Fix invite tokens models
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 | ||
