Skip to content

Commit

Permalink
fix: document list view + poke view (#2602)
Browse files Browse the repository at this point in the history
* fix: document list view + poke view

* fix
  • Loading branch information
spolu authored Nov 20, 2023
1 parent b9026fa commit 3755911
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ async function handler(
const session = await getSession(req, res);
const auth =
req.query.asDustSuperUser === "true"
? await Authenticator.fromSession(session, req.query.wId as string)
: await Authenticator.fromSuperUserSession(
? await Authenticator.fromSuperUserSession(
session,
req.query.wId as string
);
)
: await Authenticator.fromSession(session, req.query.wId as string);

const owner = auth.workspace();
if (!owner) {
Expand Down

0 comments on commit 3755911

Please sign in to comment.