rename
This commit is contained in:
parent
9f220d2e85
commit
23c82b747d
|
@ -2,7 +2,7 @@ import bodyParser from "body-parser";
|
|||
import Controller from "controller.interface";
|
||||
import express from "express";
|
||||
import { logger } from "./utils";
|
||||
import AccountController from "./account.controller";
|
||||
import PositionsController from "./positionsController";
|
||||
import CoinController from "./coin.controller";
|
||||
import MangoSimpleClient from "./mango.simple.client";
|
||||
import MarketsController from "./markets.controller";
|
||||
|
@ -25,7 +25,7 @@ class App {
|
|||
new WalletController(this.mangoSimpleClient),
|
||||
new OrdersController(this.mangoSimpleClient),
|
||||
new MarketsController(this.mangoSimpleClient),
|
||||
new AccountController(this.mangoSimpleClient),
|
||||
new PositionsController(this.mangoSimpleClient),
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ import {
|
|||
patchInternalMarketName,
|
||||
} from "./utils";
|
||||
|
||||
class AccountController implements Controller {
|
||||
class PositionsController implements Controller {
|
||||
public path = "/api/positions";
|
||||
public router = Router();
|
||||
|
||||
|
@ -156,7 +156,7 @@ class AccountController implements Controller {
|
|||
}
|
||||
}
|
||||
|
||||
export default AccountController;
|
||||
export default PositionsController;
|
||||
|
||||
/// Dtos
|
||||
|
Loading…
Reference in New Issue