Update Photos API
Since there is a body to the photos api it should be a post for now. Also updated the response to separate files and directories.
This commit is contained in:
@@ -21,7 +21,6 @@ impl FromStr for Claims {
|
||||
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
let token = *(s.split("Bearer ").collect::<Vec<_>>().last().unwrap_or(&""));
|
||||
println!("Parsing token: '{}'", token);
|
||||
|
||||
match decode::<Claims>(
|
||||
&token,
|
||||
|
||||
Reference in New Issue
Block a user