diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs index 65b779b8..7f1d297b 100644 --- a/src/db/models/organization.rs +++ b/src/db/models/organization.rs @@ -66,7 +66,7 @@ impl Organization { "Name": self.name, "Seats": 10, "MaxCollections": 10, - + "MaxStorageGb": 10, // The value doesn't matter, we don't check server-side "Use2fa": true, "UseDirectory": false, "UseEvents": false, @@ -83,7 +83,7 @@ impl Organization { "BillingEmail": self.billing_email, "Plan": "TeamsAnnually", "PlanType": 5, // TeamsAnnually plan - + "UsersGetPremium": true, "Object": "organization", }) } @@ -158,6 +158,7 @@ impl UserOrganization { "Name": org.name, "Seats": 10, "MaxCollections": 10, + "UsersGetPremium": true, "Use2fa": true, "UseDirectory": false, diff --git a/src/main.rs b/src/main.rs index f6e58c90..34664364 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ #![feature(plugin, custom_derive, vec_remove_item, try_trait)] #![plugin(rocket_codegen)] +#![recursion_limit="128"] #![allow(proc_macro_derive_resolution_fallback)] // TODO: Remove this when diesel update fixes warnings extern crate rocket; extern crate rocket_contrib;