Skip to content

Commit

Permalink
Merge branch 'main' of github.com:GaloyMoney/cala into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
git committed May 19, 2024
2 parents b89a30e + 21c90fa commit 601f099
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cala-server/src/graphql/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub(super) struct AccountCreatePayload {

impl ToGlobalId for cala_ledger::AccountId {
fn to_global_id(&self) -> async_graphql::types::ID {
async_graphql::types::ID::from("account:{self}")
async_graphql::types::ID::from(format!("account:{}", self))
}
}

Expand Down
2 changes: 1 addition & 1 deletion cala-server/src/graphql/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl CursorType for JobByNameCursor {

impl ToGlobalId for crate::primitives::JobId {
fn to_global_id(&self) -> async_graphql::types::ID {
async_graphql::types::ID::from(format!("job:{self}"))
async_graphql::types::ID::from(format!("job:{}", self))
}
}

Expand Down
2 changes: 1 addition & 1 deletion cala-server/src/graphql/journal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct JournalCreatePayload {

impl ToGlobalId for cala_ledger::JournalId {
fn to_global_id(&self) -> async_graphql::types::ID {
async_graphql::types::ID::from(format!("journal:{self}"))
async_graphql::types::ID::from(format!("journal:{}", self))
}
}

Expand Down
2 changes: 1 addition & 1 deletion cala-server/src/graphql/tx_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub(super) struct TxTemplateCreatePayload {

impl ToGlobalId for cala_ledger::TxTemplateId {
fn to_global_id(&self) -> async_graphql::types::ID {
async_graphql::types::ID::from(format!("tx_template:{self}"))
async_graphql::types::ID::from(format!("tx_template:{}", self))
}
}

Expand Down

0 comments on commit 601f099

Please sign in to comment.