mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix(api): address issues caused by 3p tools
and flag accounts that use them
This commit is contained in:
@@ -22,6 +22,7 @@ import {
|
||||
TAVERN_ID,
|
||||
MAX_MESSAGE_LENGTH,
|
||||
MAX_GIFT_MESSAGE_LENGTH,
|
||||
OFFICIAL_PLATFORMS,
|
||||
} from './constants';
|
||||
import content from './content/index';
|
||||
import * as count from './count';
|
||||
@@ -124,6 +125,7 @@ api.constants = {
|
||||
MAX_MESSAGE_LENGTH,
|
||||
MAX_GIFT_MESSAGE_LENGTH,
|
||||
MAX_LEVEL_HARD_CAP,
|
||||
OFFICIAL_PLATFORMS,
|
||||
};
|
||||
// TODO Move these under api.constants
|
||||
api.maxLevel = MAX_LEVEL;
|
||||
|
||||
Reference in New Issue
Block a user