Skip to content

Commit 2103a64

Browse files
committed
self_review
1 parent 0fcca71 commit 2103a64

File tree

2 files changed

+2
-0
lines changed
  • lib/bencher_schema/src/model

2 files changed

+2
-0
lines changed

lib/bencher_schema/src/model/organization/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

lib/bencher_schema/src/model/project/branch/head.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)