Skip to content

Commit

Permalink
fix: sync_call
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed May 14, 2024
1 parent 21f6c95 commit cc719da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nft-minter-deployer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub trait NftMinterDeployer: factory::FactoryModule + events::EventsModule {
.to(nft_minter_address)
.typed(nft_minter::nft_minter_proxy::NftMinterProxy)
.pause_endpoint()
.sync_call_same_context();
.sync_call();
}

#[only_owner]
Expand All @@ -112,7 +112,7 @@ pub trait NftMinterDeployer: factory::FactoryModule + events::EventsModule {
.to(nft_minter_address)
.typed(nft_minter::nft_minter_proxy::NftMinterProxy)
.unpause_endpoint()
.sync_call_same_context();
.sync_call();
}

#[only_owner]
Expand All @@ -131,7 +131,7 @@ pub trait NftMinterDeployer: factory::FactoryModule + events::EventsModule {
.to(nft_minter_address)
.typed(nft_minter::nft_minter_proxy::NftMinterProxy)
.add_user_to_admin_list(admin_address)
.sync_call_same_context();
.sync_call();
}

#[only_owner]
Expand All @@ -151,7 +151,7 @@ pub trait NftMinterDeployer: factory::FactoryModule + events::EventsModule {
.to(nft_minter_address)
.typed(nft_minter::nft_minter_proxy::NftMinterProxy)
.remove_user_from_admin_list(admin_address)
.sync_call_same_context();
.sync_call();
}

#[only_owner]
Expand Down

0 comments on commit cc719da

Please sign in to comment.