Create interface for file data.
This commit is contained in:
parent
000cb2eb0e
commit
816532053b
7 changed files with 268 additions and 209 deletions
|
@ -17,7 +17,7 @@ func TestNewWebhook(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestNewWebhookWithCert(t *testing.T) {
|
||||
exampleFile := File{FileID: "123"}
|
||||
exampleFile := FileID("123")
|
||||
result, err := NewWebhookWithCert("https://example.com/token", exampleFile)
|
||||
|
||||
if err != nil ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue