Create Tag tables and Add Tag endpoint
This commit is contained in:
@@ -133,6 +133,12 @@ impl From<fs::Metadata> for MetadataResponse {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct AddTagRequest {
|
||||
pub file_name: String,
|
||||
pub tag_name: String,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::Claims;
|
||||
|
||||
Reference in New Issue
Block a user