expose wrapped value of api response

This commit is contained in:
TotallyNot 2023-02-27 16:09:19 +01:00
parent 7a7aa6b163
commit 042af5acf2
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "torn-api" name = "torn-api"
version = "0.5.11" version = "0.5.12"
edition = "2021" edition = "2021"
authors = ["Pyrit [2111649]"] authors = ["Pyrit [2111649]"]
license = "MIT" license = "MIT"

View file

@ -33,7 +33,7 @@ use serde::{de::Error as DeError, Deserialize};
use thiserror::Error; use thiserror::Error;
pub struct ApiResponse { pub struct ApiResponse {
value: serde_json::Value, pub value: serde_json::Value,
} }
#[derive(Error, Debug)] #[derive(Error, Debug)]