Send message function
This commit is contained in:
@@ -12,7 +12,7 @@ pub struct LocalPost {
|
||||
#[tauri::command]
|
||||
pub async fn fetch_nostr_posts() -> Result<Vec<LocalPost>, String> {
|
||||
// 1. Verbindung aufbauen
|
||||
let easy = EasyNostr::new("nsec1...")
|
||||
let easy = EasyNostr::new("nsec1fkhszd5sv8yp6g966qdh5kuph25g4nn9pa2k5rwpuglt6rde8u8qwr3r87")
|
||||
.await
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user