feat(relay): apply policy overrides for my-portal case and representation endpoints
This commit is contained in:
@@ -39,9 +39,18 @@ export default async function ApiProxy(req, res) {
|
||||
loggedInUserId +
|
||||
"&$count=true&$orderby=createdon desc";
|
||||
|
||||
const relayPolicy = {
|
||||
method: "GET",
|
||||
timeoutMs: 8000,
|
||||
maxRetries: 2,
|
||||
retryBaseDelayMs: 150,
|
||||
retryMaxDelayMs: 800
|
||||
};
|
||||
|
||||
return relayGet({
|
||||
queryUrl,
|
||||
res,
|
||||
relayPolicy,
|
||||
errorResponse: {
|
||||
status: 400,
|
||||
code: "MY_REPRESENTATIONS_FETCH_FAILED",
|
||||
|
||||
Reference in New Issue
Block a user