Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: add workspace owner id as query param to websocket#18363

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 5 commits intomainfromjaaydenh/fix-workspace-owner
Jun 13, 2025

Conversation

jaaydenh
Copy link
Contributor

No description provided.

@jaaydenhjaaydenh self-assigned thisJun 13, 2025
@jaaydenhjaaydenh requested a review fromEmyrkJune 13, 2025 16:22
Comment on lines 61 to 74
userID := apikey.UserID

qUserID := r.URL.Query().Get("user_id")
if qUserID != "" {
uid, err := uuid.Parse(qUserID)
if err != nil {
httpapi.Write(r.Context(), rw, http.StatusBadRequest, codersdk.Response{
Message: "Invalid user_id query parameter",
Detail: err.Error(),
})
return
}
userID = uid
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is the BE change

Comment on lines 1031 to +1033
const socket = createWebSocket(
`/api/v2/templateversions/${versionId}/dynamic-parameters`,
new URLSearchParams({ user_id: userId }),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I changed this

jaaydenh reacted with thumbs up emoji
@jaaydenhjaaydenh merged commit9a432b8 intomainJun 13, 2025
37 checks passed
@jaaydenhjaaydenh deleted the jaaydenh/fix-workspace-owner branchJune 13, 2025 18:49
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@jaaydenhjaaydenh

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jaaydenh@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp