Skip to content

Commit 5b62a76

Browse files
committed
Use get_bakers_reward_period to extract payday commission rates
1 parent 72dab5c commit 5b62a76

9 files changed

+124
-96
lines changed

backend-rust/.sqlx/query-36e4dfcc33f6337ec3abbda670a4a9e07dffde8ba68145c2e519d27eadbd8b12.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-496b5124c54a7f21d0874859bc373fb0de9aa7dc15ae8b49bf5911be0c5f07b4.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-8b160d1140d7823bcaf03711b9934621569d7e66c60aba8cb962054f82a8c2c6.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-90eb6256da2b7725f64955ba77448390047c2f65468ec6a5dad561fb8dc66d65.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-9900288397e3ef769e3e264889932596f67aa12452ce59c03a5b7960515c4036.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-c70916cfc9c9c93317085de3593fcf3489e5e03b16eeeef204d4886a30471cce.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/.sqlx/query-d2b1b263ea1e5f7137508c5ef4c9e6ad100dfb110542456c98575729594ca57a.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend-rust/src/graphql_api/baker.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ impl QueryBaker {
4040
&self,
4141
#[graphql(default)] _sort: BakerSort,
4242
_filter: BakerFilterInput,
43-
#[graphql(desc = "Returns the first _n_ elements from the list.")] _first: Option<i32>,
43+
#[graphql(desc = "Returns the first _n_ elements from the list.")] _first: Option<u64>,
4444
#[graphql(desc = "Returns the elements in the list that come after the specified cursor.")]
4545
_after: Option<String>,
46-
#[graphql(desc = "Returns the last _n_ elements from the list.")] _last: Option<i32>,
46+
#[graphql(desc = "Returns the last _n_ elements from the list.")] _last: Option<u64>,
4747
#[graphql(desc = "Returns the elements in the list that come before the specified cursor.")]
4848
_before: Option<String>,
4949
) -> ApiResult<connection::Connection<String, Baker>> {

0 commit comments

Comments
 (0)