Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee6dbb1

Browse files
committed
Typo
1 parent c06a636 commit ee6dbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/apikey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (api *API) postAPIKey(rw http.ResponseWriter, r *http.Request) {
125125
}
126126

127127
// We intentionally do not set the cookie on the response here.
128-
// Setting the cookie will couple the browser sesion to the API
128+
// Setting the cookie will couple the browser session to the API
129129
// key we return here, meaning logging out of the website would
130130
// invalid your CLI key.
131131
httpapi.Write(ctx, rw, http.StatusCreated, codersdk.GenerateAPIKeyResponse{Key: cookie.Value})

0 commit comments

Comments
 (0)