drop TODO

main
bel 2024-04-13 10:04:52 -06:00
parent 85d589a570
commit 4111ce9153
2 changed files with 4 additions and 4 deletions

View File

@ -143,8 +143,8 @@ func ParseSlack(b []byte, assetPattern string) (Message, error) {
Source: fmt.Sprintf(`https://renderinc.slack.com/archives/%s/p%s`, s.Event.Channel, strings.ReplaceAll(s.Event.ParentID, ".", "")),
Channel: s.Event.Channel,
Thread: s.Event.ParentID,
EventName: "TODO",
Event: "TODO",
EventName: "",
Event: "",
Plaintext: s.Event.Text,
Asset: asset.FindString(s.Event.Text),
}, nil

View File

@ -43,8 +43,8 @@ func TestParseSlackTestdata(t *testing.T) {
Source: "https://renderinc.slack.com/archives/C06U1DDBBU4/p1712927439728409",
Channel: "C06U1DDBBU4",
Thread: "1712927439.728409",
EventName: "TODO",
Event: "TODO",
EventName: "",
Event: "",
Plaintext: "I gotta do this",
Asset: "",
},