mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
api: add pagination for guilds
start adding apiMessages add apiMessages lib with tests use apiMessage and fix tests fix content tests guilds pagination: add api docs guilds pagination: improve api docs
This commit is contained in:
@@ -41,7 +41,7 @@ function t (stringName) {
|
||||
try {
|
||||
return template(string)(clonedVars);
|
||||
} catch (_error) {
|
||||
return 'Error processing the string. Please see Help > Report a Bug.';
|
||||
return `Error processing the string "${stringName}". Please see Help > Report a Bug.`;
|
||||
}
|
||||
} else {
|
||||
let stringNotFound;
|
||||
@@ -57,7 +57,7 @@ function t (stringName) {
|
||||
string: stringName,
|
||||
});
|
||||
} catch (_error) {
|
||||
return 'Error processing the string. Please see Help > Report a Bug.';
|
||||
return 'Error processing the string "stringNotFound". Please see Help > Report a Bug.';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user