mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix(fcv): disallow negative values
This commit is contained in:
@@ -53,7 +53,8 @@ function _requestMaker (user, method, additionalSets = {}) {
|
||||
if (user && user._id && user.apiToken) {
|
||||
request
|
||||
.set('x-api-user', user._id)
|
||||
.set('x-api-key', user.apiToken);
|
||||
.set('x-api-key', user.apiToken)
|
||||
.set('x-client', 'habitica-web');
|
||||
}
|
||||
|
||||
if (!isEmpty(additionalSets)) {
|
||||
|
||||
Reference in New Issue
Block a user