max / goingson
1 file changed,
+1 insertion,
-1 deletion
| @@ -21,7 +21,7 @@ const GO_TAG_CONFIG: tagtree::TagConfig = tagtree::TagConfig { | |||
| 21 | 21 | /// Validate a single tag against the GoingsOn config. | |
| 22 | 22 | fn validate_tag(tag: &str) -> Result<(), CoreError> { | |
| 23 | 23 | tagtree::validate_with(tag, &GO_TAG_CONFIG) | |
| 24 | - | .map_err(|e| CoreError::validation("tags", e.0)) | |
| 24 | + | .map_err(|e| CoreError::validation("tags", e.to_string())) | |
| 25 | 25 | } | |
| 26 | 26 | ||
| 27 | 27 | /// Validates that a required string field is non-empty and within a max length. |