Skip to content
Snippets Groups Projects
Commit f1aff977 authored by Ewen Le Bihan's avatar Ewen Le Bihan
Browse files

build: fix build

parent 3dafb814
No related branches found
Tags v0.36.0
No related merge requests found
......@@ -97,6 +97,7 @@ builder.mutationField('addGroupMember', (t) =>
} catch (error: unknown) {
if (error instanceof PrismaClientKnownRequestError && error.code === 'P2002')
throw new GraphQLError(`@${uid} est déjà dans ${groupUid}`);
throw error;
}
},
}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment