mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix sanitize bug by having different SanitizedString type name when creating new instances
This commit is contained in:
parent
e327b7c57f
commit
c1ffd9abdf
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export class SanitizedString extends GraphQLScalarType {
|
|||
maxLength?: number
|
||||
) {
|
||||
super({
|
||||
name: 'SanitizedString',
|
||||
name: `SanitizedString_${allowedTags}_${maxLength}`,
|
||||
description: 'Source string that was sanitized',
|
||||
|
||||
serialize(value: string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue