Skip to content

Commit 30a58f7

Browse files
committed
Fix typo in FFI exported session history method
1 parent c2a3d15 commit 30a58f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

payjoin-ffi/src/send/uni.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl From<SenderSessionHistory> for super::SessionHistory {
7070

7171
#[uniffi::export]
7272
impl SenderSessionHistory {
73-
pub fn endpoints(&self) -> Option<Arc<Url>> {
73+
pub fn endpoint(&self) -> Option<Arc<Url>> {
7474
self.0.0.endpoint().map(|url| Arc::new(url.clone().into()))
7575
}
7676

0 commit comments

Comments
 (0)