Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit eab5538

Browse files
author
Alan Shaw
committed
fix: error message
1 parent 60ad086 commit eab5538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (p *Pin) UnmarshalJSON(b []byte) error {
9191
} else if raw.Status == "PinQueued" {
9292
p.Status = PinStatusPinQueued
9393
} else {
94-
return fmt.Errorf("unknown deal status: %s", raw.Status)
94+
return fmt.Errorf("unknown pin status: %s", raw.Status)
9595
}
9696
return nil
9797
}

0 commit comments

Comments
 (0)