Create Tag tables and Add Tag endpoint

This commit is contained in:
Cameron Cordes committed 2021-10-11 21:52:06 -04:00
1 parent 2d6db6d059
commit 8939ffbaf5
7 files changed
+155 -5

No files matched your search

+6
View File
@@ -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;