Skip to content

Commit

Permalink
chore: just ready-for-codereview
Browse files Browse the repository at this point in the history
  • Loading branch information
iustinum committed Dec 20, 2024
1 parent 4dd8d2d commit 88fb7a8
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@ const server = setupServer(
);
}),

rest.post<CreateSAMLProviderBody, any, CreateSAMLProviderResponse>('/api/v2/sso-providers/saml', (req, res, ctx) => {
ssoProviders.push(newSAMLProvider);
return res(ctx.json({ ...newSAMLProvider, ...(newSAMLProvider.details as SAMLProviderInfo) }));
})
rest.post<CreateSAMLProviderBody, any, CreateSAMLProviderResponse>(
'/api/v2/sso-providers/saml',
(req, res, ctx) => {
ssoProviders.push(newSAMLProvider);
return res(ctx.json({ ...newSAMLProvider, ...(newSAMLProvider.details as SAMLProviderInfo) }));
}
)
);

beforeEach(() => {
Expand Down

0 comments on commit 88fb7a8

Please sign in to comment.