accept longer source ids. Fixes #9

This commit is contained in:
Matthias Hannig 2019-01-28 09:19:32 +01:00
parent 3570c2fa81
commit 95c3ced488
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
3.4.3
3.4.4

View File

@ -9,7 +9,7 @@ import (
// Helper: Validate source Id
func validateSourceId(id string) (string, error) {
if len(id) > 15 {
if len(id) > 42 {
return "unknown", fmt.Errorf("Source ID too long with length: %d", len(id))
}
return id, nil