mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Old Client Cleanup (#9141)
* move emails images to website/static/emails and remove old files * remove old client tests * remove more files * add sprites back * cleanup gulp * cleanup gulp * remove old files * more fixes * pin bootstrap-vue * disable old test * remove old tasks * fix apidoc
This commit is contained in:
@@ -12,7 +12,6 @@ import Pageres from 'pageres';
|
||||
import nconf from 'nconf';
|
||||
import got from 'got';
|
||||
import Bluebird from 'bluebird';
|
||||
import locals from '../../middlewares/locals';
|
||||
import md from 'habitica-markdown';
|
||||
import {
|
||||
S3,
|
||||
@@ -160,10 +159,11 @@ api.exportUserDataXml = {
|
||||
*
|
||||
* @apiUse UserNotFound
|
||||
*/
|
||||
// @TODO fix
|
||||
api.exportUserAvatarHtml = {
|
||||
method: 'GET',
|
||||
url: '/export/avatar-:memberId.html',
|
||||
middlewares: [locals],
|
||||
// middlewares: [locals],
|
||||
async handler (req, res) {
|
||||
req.checkParams('memberId', res.t('memberIdRequired')).notEmpty().isUUID();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user