Skip to content

Commit

Permalink
fix: remove unneeded async keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehesi97 authored and LucianBuzzo committed Mar 16, 2023
1 parent 620f19d commit 362ad3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getUniqueFieldData = (client: PrismaClient) => {
export const stableSortMiddleware = (client: PrismaClient): Prisma.Middleware => {
const uniqueFields = getUniqueFieldData(client);

return async (params, next) => {
return (params, next) => {
const { model, action } = params;

if (!model || !action) {
Expand Down

0 comments on commit 362ad3a

Please sign in to comment.