fix: stupid mistake
This commit is contained in:
parent
242b950c13
commit
a4665ddb06
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "droneconf"
|
name = "droneconf"
|
||||||
version = "1.0.0"
|
version = "1.0.2"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -47,7 +47,7 @@ impl Request {
|
||||||
|
|
||||||
impl Response {
|
impl Response {
|
||||||
pub fn new(data: String, is_woodpecker: bool) -> Self {
|
pub fn new(data: String, is_woodpecker: bool) -> Self {
|
||||||
if is_woodpecker {
|
if !is_woodpecker {
|
||||||
Self {
|
Self {
|
||||||
data: Some(data),
|
data: Some(data),
|
||||||
configs: None,
|
configs: None,
|
||||||
|
|
Loading…
Reference in a new issue