fix: Update preference mutation to use slug instead of preference ID #4003
Annotations
4 errors and 2 warnings
Run yarn validate:
src/features/api/apiTags.ts#L95
Type '{ getWorkspaces: { providesTags: "Workspaces"[]; }; getWorkspacesByWid: { providesTags: "Workspaces"[]; }; getWorkspacesByWidCampaigns: { providesTags: ("Projects" | "Campaigns")[]; }; getWorkspacesByWidProjects: { ...; }; ... 40 more ...; getVideosByVidTranslation: { ...; }; }' is not assignable to type '{ $get?: Partial<QueryDefinition<void, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {}, FetchBaseQueryMeta>, "Projects" | ... 15 more ... | "Translation", $getApiResponse, "api">> | ((definition: QueryDefinition<...>) => void) | undefined; ... 73 more ...; deleteWorkspacesByWidUsers?: Partial<...> |...'.
|
Run yarn validate:
src/pages/Video/components/tools/ToolsTranslate.tsx#L27
'"src/features/api"' has no exported member named 'usePutUsersMePreferencesByPrefidMutation'. Did you mean 'usePutUsersMePreferencesBySlugMutation'?
|
Run yarn validate:
src/pages/Video/components/tools/ToolsTranslate.tsx#L159
Parameter 'e' implicitly has an 'any' type.
|
Run yarn validate
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading