Skip to content

Commit 9e8ba58

Browse files
committed
Use "speaker" tag for detecting speakers
1 parent a883d67 commit 9e8ba58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/badges/roles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _calculate_roles(
142142
if "sponsor" in tags:
143143
roles.append(Role.SPONSOR)
144144

145-
if "speakers" in tags:
145+
if "speakers" in tags or "speaker" in tags:
146146
roles.append(Role.SPEAKER)
147147

148148
# We do not know if they are a speaker via voucher code

badge-service/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const EMPTY_BADGES_COUNT = {
1010
SPEAKER: 25,
1111
STAFF: 20,
1212
SPONSOR: 30,
13-
KEYNOTER: 5,
13+
KEYNOTER: 6,
1414
DJANGO_GIRLS: 25,
1515
};
1616

0 commit comments

Comments
 (0)