Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Sep 9, 2024
1 parent d294bad commit ba4d15f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 54 deletions.
3 changes: 1 addition & 2 deletions src/example/paid_service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ mod state;
use example_paid_service_api::InitArgs;
use ic_cdk::init;
use ic_cdk_macros::{export_candid, update};
use ic_papi_api::{Account, PaymentError};
use ic_papi_guard::guards::icrc2_from_caller::Icrc2FromCaller;
use ic_papi_api::PaymentError;
use ic_papi_guard::guards::PaymentGuard;
use ic_papi_guard::guards::{
attached_cycles::AttachedCyclesPayment, icrc2_cycles::Icrc2CyclesPaymentGuard,
Expand Down
51 changes: 0 additions & 51 deletions src/guard/src/guards/icrc2_from_caller.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/guard/src/guards/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use ic_papi_api::PaymentError;
pub mod attached_cycles;
pub mod icrc2_cycles;
pub mod icrc2_from_caller;

#[allow(async_fn_in_trait)]
pub trait PaymentGuard {
Expand Down

0 comments on commit ba4d15f

Please sign in to comment.