fix: stupid mistake

This commit is contained in:
Timo Ley 2023-07-19 22:51:41 +02:00
parent 242b950c13
commit a4665ddb06
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "droneconf"
version = "1.0.0"
version = "1.0.2"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -47,7 +47,7 @@ impl Request {
impl Response {
pub fn new(data: String, is_woodpecker: bool) -> Self {
if is_woodpecker {
if !is_woodpecker {
Self {
data: Some(data),
configs: None,