cleaning unnecessary optionals

This commit is contained in:
tiagosiebler
2021-03-06 17:17:13 +00:00
parent 4adff7433f
commit b6a17dcffe
4 changed files with 4 additions and 5 deletions

View File

@@ -55,7 +55,6 @@ export default class RequestUtil {
this.secret = secret;
}
// TODO: type check that endpoint never starts with forward slash??
get(endpoint: string, params?: any): GenericAPIResponse {
return this._call('GET', endpoint, params);
}