fixed delet function naming

This commit is contained in:
Waradu 2024-10-19 23:03:25 +02:00
parent 04846fc51a
commit 15085a7a09
No known key found for this signature in database
GPG key ID: F85AAC8BA8B8DAAD
4 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@ match upload(&file_path).await {
Delete:
```rust
match streamshare::delete(identifier, deltoken).await {
match streamshare::delete(file_identifier deletion_token).await {
Ok(_) => println!("File deleted successfully"),
Err(e) => eprintln!("Error deleting file: {}", e),
}