Skip to content

Commit 24a339e

Browse files
committed
fix: Fixed typo
1 parent bf823c1 commit 24a339e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helpers/mail/mail_v3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@ func (p *Personalization) SetSendAt(sendAt int) {
370370
p.SendAt = sendAt
371371
}
372372

373-
// SetSendEactAt ...
374-
func (p *Personalization) SetSendEactAt(sendEachAt []int) {
373+
// SetSendEachAt ...
374+
func (p *Personalization) SetSendEachAt(sendEachAt []int) {
375375
p.SendEachAt = sendEachAt
376376
}
377377

helpers/mail/mail_v3_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func TestV3PersonalizationSetSendEachAt(t *testing.T) {
387387
}
388388

389389
p := NewPersonalization()
390-
p.SetSendEactAt(sendAts)
390+
p.SetSendEachAt(sendAts)
391391

392392
assert.Equal(t, len(sendAts), len(p.SendEachAt), fmt.Sprintf("length of SendEactAt should be %d, got %d", len(sendAts), len(p.SendEachAt)))
393393
}

0 commit comments

Comments
 (0)