Fix typo
This commit is contained in:
parent
3b7292a08f
commit
42e8619830
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ func (p *provider) validateStatus(status *status) error {
|
|||
func (p *provider) validateSubject(subject *subject, inResponseTo string) error {
|
||||
// Optional according to the spec, but again, we're going to be strict here.
|
||||
if len(subject.SubjectConfirmations) == 0 {
|
||||
return fmt.Errorf("Subject contained no SubjectConfrimations")
|
||||
return fmt.Errorf("Subject contained no SubjectConfirmations")
|
||||
}
|
||||
|
||||
var errs []error
|
||||
|
|
Reference in a new issue