• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inclusion-numerique / coop-mediation-numerique / 82e0ecb8-5c73-49c1-a124-01e965ce67a7

06 Feb 2026 09:29AM UTC coverage: 7.371% (-3.1%) from 10.44%
82e0ecb8-5c73-49c1-a124-01e965ce67a7

push

circleci

hugues-m
feat: sync v1 users with dataspace

(cherry picked from commit f1ffd85bb)

469 of 9668 branches covered (4.85%)

Branch coverage included in aggregate %.

1330 of 14738 relevant lines covered (9.02%)

40.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/web/src/utils/addMutationLog.ts
1
import { prismaClient } from '@app/web/prismaClient'
2
/**
3
 * Create a mutation for the audit log, without blocking the main thread
4
 */
5
import type { Prisma } from '@prisma/client'
6
import * as Sentry from '@sentry/nextjs'
7

8
export const addMutationLogAsync = (
×
9
  data: Prisma.MutationUncheckedCreateInput,
10
) =>
11
  prismaClient.mutation.create({
×
12
    data: {
13
      ...data,
14
    },
15
  })
16

17
export const addMutationLog = (data: Prisma.MutationUncheckedCreateInput) => {
×
18
  addMutationLogAsync(data).catch((error) =>
×
19
    Sentry.captureException(error, {
×
20
      data: {
21
        addMutationData: data,
22
      },
23
    }),
24
  )
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc