Skip to content

Commit

Permalink
refactor(persistence): remove useless redefinitions
Browse files Browse the repository at this point in the history
Signed-off-by: Mark T. B. Carroll <[email protected]>
  • Loading branch information
mtbc committed Oct 11, 2023
1 parent 547d3f2 commit a78d1bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/api/src/persistence/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,6 @@ impl Store {
.select(schema::entity::external_id)
.load::<String>(connection)?
{
let used = used;
model.used(namespaceid.clone(), &id, &EntityId::from_external_id(used));
}

Expand All @@ -1065,7 +1064,6 @@ impl Store {
.select(schema::activity::external_id)
.load::<String>(connection)?
{
let wasinformedby = wasinformedby;
model.was_informed_by(
namespaceid.clone(),
&id,
Expand Down Expand Up @@ -1446,7 +1444,6 @@ impl Store {
.select(schema::entity::external_id)
.load::<String>(connection)?
{
let used = used;
model.used(
namespace.clone(),
activity_id,
Expand Down

0 comments on commit a78d1bd

Please sign in to comment.