Moved getPublicLiquidations endpoint to shared

This commit is contained in:
CryptoCompiler
2021-01-29 14:23:38 +00:00
committed by GitHub
parent 13a5fc70fa
commit 9f8b7d76e6

View File

@@ -22,19 +22,6 @@ export default class SharedEndpoints {
getSymbols(): GenericAPIResponse { getSymbols(): GenericAPIResponse {
return this.requestWrapper.get('v2/public/symbols'); return this.requestWrapper.get('v2/public/symbols');
} }
/**
* @deprecated use getLiquidations() instead
*/
getPublicLiquidations(params: {
symbol: string;
from?: number;
limit?: number;
start_time?: number;
end_time?: number;
}): GenericAPIResponse {
return this.getLiquidations(params);
}
getLiquidations(params: { getLiquidations(params: {
symbol: string; symbol: string;