From ecd1a2b1362a3aa12c2d6741839f09563a3a00a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Thu, 12 May 2022 02:15:38 +0400 Subject: [PATCH] Create api.js in config --- config/api.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/api.js diff --git a/config/api.js b/config/api.js new file mode 100644 index 0000000..ed3184b --- /dev/null +++ b/config/api.js @@ -0,0 +1,9 @@ +module.exports = ({ env }) => ({ + responses: { + privateAttributes: ['_v', 'created_at'], + }, + rest: { + defaultLimit: 100, + maxLimit: 250, + }, +});