BROKEN - moved api into controllers for error refractor seeing as it's interacts with the view it should be a controller not a model

This commit is contained in:
Ben
2018-11-05 13:57:41 +00:00
parent 51616a15cb
commit 4b5a68b160
6 changed files with 0 additions and 0 deletions

12
src/controllers/API.js Normal file
View File

@@ -0,0 +1,12 @@
import {BaseAPI} from './baseAPI';
export class API extends BaseAPI {
constructor() {
super();
}
}
API.errors = require('./APIErrors').APIErrors;
API.user = require('./userResponses').UserAPI;
API.permalink = require('./permaLinkResponse').PermaLinkAPI;
API.note = require('./noteResponse').NoteAPI;