Refactor: Replace Query with Correct Query to Fetch All and Joined Organizations #4886
pull-request.yml
on: pull_request
Performs linting, formatting, type-checking, checking for different source and target branch
1m 7s
Check for eslint-disable
9s
Check for code coverage disable
12s
Checks if sensitive files have been changed without authorization
11s
Checks if number of files changed is acceptable
9s
Check Target Branch
3s
Check Python Code Style
0s
Check if Talawa Admin app starts (No Docker)
0s
Check if Talawa Admin app starts in Docker
0s
Validate CodeRabbit Approval
0s
Annotations
4 errors
Performs linting, formatting, type-checking, checking for different source and target branch
Process completed with exit code 2.
|
Performs linting, formatting, type-checking, checking for different source and target branch:
src/screens/UserPortal/Organizations/Organizations.tsx#L447
Type '{ id: string; name: string; image: string; description: string; admins: []; members: []; address: { city: string; countryCode: string; line1: string; postalCode: string; state: string; }; membershipRequestStatus: string; userRegistrationRequired: boolean; membershipRequests: { ...; }[]; isJoined: boolean; }' is not assignable to type 'InterfaceOrganizationCardProps'.
|
Performs linting, formatting, type-checking, checking for different source and target branch:
src/screens/UserPortal/Organizations/Organizations.tsx#L442
Type '{ _id: string; user: { _id: string; }; }[]' is not assignable to type '{ id: string; user: { id: string; }; }[]'.
|
Performs linting, formatting, type-checking, checking for different source and target branch:
src/screens/UserPortal/Organizations/Organizations.tsx#L433
Property 'id' does not exist on type 'InterfaceOrganization'.
|