File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
lib/bencher_schema/src/model Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ impl QueryOrganization {
119119 auth_user : & AuthUser ,
120120 insert_organization : InsertOrganization ,
121121 ) -> Result < Self , HttpError > {
122+ #[ cfg( feature = "plus" ) ]
122123 InsertOrganization :: rate_limit ( context, auth_user) . await ?;
123124 let query_organization = Self :: create_inner ( context, insert_organization) . await ?;
124125
Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ impl InsertHead {
259259 query_branch : QueryBranch ,
260260 branch_start_point : Option < & StartPoint > ,
261261 ) -> Result < ( QueryBranch , QueryHead ) , HttpError > {
262+ #[ cfg( feature = "plus" ) ]
262263 Self :: rate_limit ( context, & query_branch) . await ?;
263264
264265 // Create the head for the branch
You can’t perform that action at this time.
0 commit comments