forked from jmug/stoatchat
change how webhook information is in the webhook
This commit is contained in:
@@ -9,7 +9,7 @@ impl AbstractMessage for DummyDb {
|
||||
Ok(Message {
|
||||
id: id.into(),
|
||||
channel: "channel".into(),
|
||||
author: Some("author".into()),
|
||||
author: "author".into(),
|
||||
content: Some("message content".into()),
|
||||
|
||||
..Default::default()
|
||||
|
||||
@@ -22,7 +22,7 @@ impl AbstractWebhook for DummyDb {
|
||||
name: "".to_string(),
|
||||
avatar: None,
|
||||
channel: "0".to_string(),
|
||||
token: "".to_owned(),
|
||||
token: Some("".to_owned()),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user