Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802)

* Revert "Revert "Deprecate API v2""

* fix path in shops controller
This commit is contained in:
Matteo Pagliazzi
2016-08-01 22:36:10 +02:00
committed by GitHub
parent 2a3e3fb9d3
commit 60f34dafb0
194 changed files with 231 additions and 11488 deletions

View File

@@ -1,21 +1,21 @@
import { authWithSession } from '../../middlewares/api-v3/auth';
import { authWithSession } from '../../middlewares/auth';
import { model as User } from '../../models/user';
import * as Tasks from '../../models/task';
import {
NotFound,
} from '../../libs/api-v3/errors';
} from '../../libs/errors';
import _ from 'lodash';
import csvStringify from '../../libs/api-v3/csvStringify';
import csvStringify from '../../libs/csvStringify';
import moment from 'moment';
import js2xml from 'js2xmlparser';
import Pageres from 'pageres';
import nconf from 'nconf';
import got from 'got';
import Bluebird from 'bluebird';
import locals from '../../middlewares/api-v3/locals';
import locals from '../../middlewares/locals';
import {
S3,
} from '../../libs/api-v3/aws';
} from '../../libs/aws';
const S3_BUCKET = nconf.get('S3:bucket');