Skip to content

Commit 954c3e7

Browse files
refactor: change get_spsp function names
get_spsp_without_tracking and get_spsp are now: get_spsp and get_spsp_with_tracking Signed-off-by: Kristian Wahlroos <[email protected]>
1 parent 699372e commit 954c3e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/interledger-api/src/routes/accounts.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ where
423423

424424
// GET /accounts/:username/spsp
425425
let server_secret_clone = server_secret.clone();
426-
let get_spsp_without_tracking = warp::get()
426+
let get_spsp = warp::get()
427427
.and(warp::path("accounts"))
428428
.and(account_username_to_id.clone())
429429
.and(warp::path("spsp"))
@@ -446,7 +446,7 @@ where
446446

447447
// GET /accounts/:username/spsp/tracking_info
448448
let server_secret_clone = server_secret.clone();
449-
let get_spsp = warp::get()
449+
let get_spsp_with_tracking = warp::get()
450450
.and(warp::path("accounts"))
451451
.and(account_username_to_id)
452452
.and(warp::path("spsp"))
@@ -525,7 +525,7 @@ where
525525
// See `combine!` docs for more details.
526526
combine!(
527527
get_spsp,
528-
get_spsp_without_tracking,
528+
get_spsp_with_tracking,
529529
get_spsp_well_known,
530530
post_accounts,
531531
get_accounts,

0 commit comments

Comments
 (0)