Merge pull request #7226 from Alys/api-v3-pubChalsMinPrize-rename

[API v3] rename and reword pubChalsMinPrize to reflect that it's only for the Tavern
This commit is contained in:
Blade Barringer
2016-05-14 10:19:43 -05:00
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) {