chore: format sharing authority controls

Apply repository formatting to provider and import coverage.
This commit is contained in:
Marc-André Bombeck committed 2026-08-06 02:05:24 +02:00
1 parent a620a730b9
commit f5ca810643
4 files changed
+21 -18

No files matched your search

@@ -168,8 +168,7 @@ describe("shared intake import attribution", () => {
const response = await getImportStatus(
new NextRequest(
`http://localhost/api/medications/${medication.id}/intake/import/${job.id}/status`,
{
},
{},
),
{ params: Promise.resolve({ id: medication.id, jobId: job.id }) },
);
@@ -121,7 +121,10 @@ const resolveFromSharedRead: (request: NextRequest) => Promise<Response> =
apiHandler(async () => {
const { user } = await requireRecordAuth("manage", "record");
const provider = await resolveProvider(user.id);
return NextResponse.json({ data: { provider: provider.type }, error: null });
return NextResponse.json({
data: { provider: provider.type },
error: null,
});
});
function runMutation(): Promise<Response> {