-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
🏠[WiP] Organizational Features - Part 2 #1121
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hi 👋 Here's a preview environment 🚀 https://next-reworkd-agentgpt-1121.env.ergomake.link Environment Summary 📑
Here are your environment's logs. For questions or comments, join Discord. Click here to disable Ergomake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be called views?
@@ -18,25 +18,36 @@ def user_crud( | |||
|
|||
|
|||
async def get_current_user( | |||
x_organization_id: Annotated[str | None, Header()] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the x_?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By convention, if a system wants to add its own custom header, it starts with X-. This is so they can be sure their custom headers don't accidentally take the name of any defined header, current or future.
mypy failing |
<div className="relative"> | ||
{user && ( | ||
<img | ||
className="h-9 w-9 rounded-md bg-neutral-800" | ||
src={get_avatar(user)} | ||
alt="user avatar" | ||
/> | ||
)} | ||
{organization && <FaBuilding className="absolute -right-1 -top-1 text-white" />} | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will have to update this in the future. I like how linear displays orgs
): Promise<z.infer<T>> => { | ||
console.log("get", path, schema, accessToken, organizationId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
console.log("get", path, schema, accessToken, organizationId); |
No description provided.