Skip to content

Commit

Permalink
Merge pull request #85 from readme-experts/style-fixes
Browse files Browse the repository at this point in the history
chore: Minor style changes
  • Loading branch information
akaeyuhi authored Jun 18, 2023
2 parents c7ea669 + 249e133 commit 85709a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/client/src/app/actions/account/loadFavoriteRecipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AuthStoreError } from '../../slices/types/Auth/AuthState';
import { thunkErrorWrapper } from '../../utils/thunkErrorWrapper';

export const loadFavoriteRecipes = createAppAsyncThunk<RecipeModel[],
any,
never,
{ rejectValue: AuthStoreError }>(
'account/loadUserFavorites',
async (_, thunkAPI) => {
Expand Down
2 changes: 1 addition & 1 deletion src/client/src/app/utils/thunkErrorWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BaseService from '../../services/BaseService';

/* eslint-disable @typescript-eslint/no-explicit-any */
export function thunkErrorWrapper<ReturnType, Args>(method: (...args : Args[]) => ReturnType,
rejectWithValue: (value: Error) => any,
context: BaseService | null = null) {
Expand Down
2 changes: 1 addition & 1 deletion src/server/repositories/recipe.repository.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PrismaService } from '../prisma/prisma.service';
import { Injectable } from '@nestjs/common';
import { CreateRecipeDto } from '../recipes/DTO/recipe.dto';
import { CreateRecipeDto } from '../recipes/dto/recipe.dto';
import { RecipeEntity } from '../prisma/Entities/recipe.entity';

@Injectable()
Expand Down

0 comments on commit 85709a1

Please sign in to comment.