From 042af5acf24030f19898ae1001916e5d282e2ed2 Mon Sep 17 00:00:00 2001 From: TotallyNot <44345987+TotallyNot@users.noreply.github.com> Date: Mon, 27 Feb 2023 16:09:19 +0100 Subject: [PATCH] expose wrapped value of api response --- torn-api/Cargo.toml | 2 +- torn-api/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index 3c3f6fe..4907380 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "0.5.11" +version = "0.5.12" edition = "2021" authors = ["Pyrit [2111649]"] license = "MIT" diff --git a/torn-api/src/lib.rs b/torn-api/src/lib.rs index 01f7dbe..b167d38 100644 --- a/torn-api/src/lib.rs +++ b/torn-api/src/lib.rs @@ -33,7 +33,7 @@ use serde::{de::Error as DeError, Deserialize}; use thiserror::Error; pub struct ApiResponse { - value: serde_json::Value, + pub value: serde_json::Value, } #[derive(Error, Debug)]