perf: Permetti richieste parallele nei model

This commit is contained in:
Maicol Battistini 2023-08-31 18:02:52 +02:00
parent 5a6bdb711c
commit 1c0b2fdc99
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export interface ModelRelations {
export default abstract class Model<A extends ModelAttributes, R extends ModelRelations> extends BaseModel {
protected static paginationStrategy = PaginationStrategy.PageBased;
protected static jsonApiBaseUrl = '/api/restify';
protected static httpClient = new RequestHttpClient();
getHttpClient() { return new RequestHttpClient(); }
static dates: Record<string, string> = {
createdAt: 'YYYY-MM-DDTHH:mm:ss.ssssssZ',