drop TODO
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: "",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user