rename hw-grinch to hallowgrinch

pull/213/head
Aevann 2023-10-10 21:14:45 +03:00
parent da633f54a0
commit a0f0ad7cbf
3 changed files with 4 additions and 3 deletions

View File

@ -355,8 +355,8 @@ AWARDS = {
"enabled": IS_HOMOWEEN(),
"positive": True,
},
"hw-grinch": {
"kind": "hw-grinch",
"hallowgrinch": {
"kind": "hallowgrinch",
"title": "Hallowgrinch",
"description": "???",
"icon": "fas fa-angry",

View File

@ -548,7 +548,7 @@ def award_thing(v, thing_type, id):
if v.id == author.id:
session['event_music'] = False
elif IS_HOMOWEEN():
if kind == "hw-grinch":
if kind == "hallowgrinch":
badge_grant(badge_id=185, user=author)
if v.id == author.id:
session['event_music'] = False

View File

@ -0,0 +1 @@
update award_relationships set kind='hallowgrinch' where kind='hw-grinch';