mirror of
https://github.com/v0l/route96.git
synced 2025-06-18 22:59:36 +00:00
feat: BUD-05
This commit is contained in:
@ -79,7 +79,7 @@ enum Nip96Response {
|
||||
}
|
||||
|
||||
impl Nip96Response {
|
||||
pub(crate)fn error(msg: &str) -> Self {
|
||||
pub(crate) fn error(msg: &str) -> Self {
|
||||
Nip96Response::GenericError(Json(Nip96UploadResult {
|
||||
status: "error".to_string(),
|
||||
message: Some(msg.to_string()),
|
||||
@ -126,6 +126,7 @@ struct Nip96Form<'r> {
|
||||
alt: Option<&'r str>,
|
||||
caption: Option<&'r str>,
|
||||
media_type: Option<&'r str>,
|
||||
#[allow(dead_code)]
|
||||
content_type: Option<&'r str>,
|
||||
no_transform: Option<bool>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user