mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
wip: console
This commit is contained in:
parent
23af974bd3
commit
9ad4dc9296
@ -22,7 +22,11 @@ export const getActor = async (): Promise<Actor.Info> => {
|
||||
const auth = await useAuthSession()
|
||||
const splits = url.pathname.split("/").filter(Boolean)
|
||||
if (splits[0] !== "workspace") {
|
||||
// TODO
|
||||
console.log("before current")
|
||||
console.log(`current: ${auth.data.current}`)
|
||||
const current = auth.data.account[auth.data.current ?? ""]
|
||||
console.log("after current")
|
||||
if (current) {
|
||||
return {
|
||||
type: "account",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user