fix: [fight] unique refs

This commit is contained in:
Christophe Vandeplas 2024-06-17 12:27:17 +02:00
parent a1658b3712
commit 2f47a3c505
No known key found for this signature in database
GPG key ID: BDC48619FFDC5A5B
2 changed files with 387 additions and 399 deletions

File diff suppressed because it is too large Load diff

View file

@ -120,6 +120,9 @@ for item in fight['techniques']:
except KeyError:
pass
element['meta']['refs'] = list(set(element['meta']['refs']))
element['meta']['refs'].sort()
techniques.append(element)