rename and reword pubChalsMinPrize to reflect that it's only for Tavern challenges

This commit is contained in:
Alys
2016-05-14 16:40:40 +10:00
parent 4dd7c29baf
commit fd13c7aa60
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ api.createChallenge = {
}
if (group._id === TAVERN_ID && prize < 1) {
throw new NotAuthorized(res.t('pubChalsMinPrize'));
throw new NotAuthorized(res.t('tavChalsMinPrize'));
}
if (prize > 0) {