Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove currentUser option from createAuthResolver #2773

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nervous-otters-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/cms-api": major
---

`createAuthResolver` does not support the `currentUser` config option anymore
1 change: 0 additions & 1 deletion packages/api/cms-api/src/auth/resolver/auth.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { AccessControlServiceInterface } from "../../user-permissions/user-permi
import { GetCurrentUser } from "../decorators/get-current-user.decorator";

interface AuthResolverConfig {
currentUser?: Type<CurrentUser>; // TODO Remove in future version as it is not used and here for backwards compatibility
johnnyomair marked this conversation as resolved.
Show resolved Hide resolved
endSessionEndpoint?: string;
postLogoutRedirectUri?: string;
}
Expand Down
Loading