fix: stupid mistake
This commit is contained in:
parent
242b950c13
commit
a4665ddb06
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue