Limit rest api relations depth to 1 (#14453)
Until we tackle [Implement relations depth 2 for rest api](https://github.com/twentyhq/twenty/issues/14452), let's remove the depth 2 query parameter which is not working (times out all the time).
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ describe('computeParameters', () => {
|
||||
required: false,
|
||||
schema: {
|
||||
type: 'integer',
|
||||
enum: [0, 1, 2],
|
||||
enum: [0, 1],
|
||||
default: 1,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -53,7 +53,7 @@ export const computeDepthParameters = (): OpenAPIV3_1.ParameterObject => {
|
||||
required: false,
|
||||
schema: {
|
||||
type: 'integer',
|
||||
enum: [0, 1, 2],
|
||||
enum: [0, 1],
|
||||
default: 1,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user