File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import axios from "axios"
55import * as vscode from "vscode"
66import { z } from "zod"
77
8- import type { CloudUserInfo , ClerkOrganizationMembership } from "@roo-code/types"
8+ import type { CloudUserInfo , CloudOrganizationMembership } from "@roo-code/types"
99
1010import { getClerkBaseUrl , getRooCodeApiUrl } from "./Config"
1111import { RefreshTimer } from "./RefreshTimer"
@@ -443,7 +443,7 @@ export class AuthService extends EventEmitter<AuthServiceEvents> {
443443 return userInfo
444444 }
445445
446- private async clerkGetOrganizationMemberships ( ) : Promise < ClerkOrganizationMembership [ ] > {
446+ private async clerkGetOrganizationMemberships ( ) : Promise < CloudOrganizationMembership [ ] > {
447447 const response = await axios . get ( `${ getClerkBaseUrl ( ) } /v1/me/organization_memberships` , {
448448 headers : {
449449 Authorization : `Bearer ${ this . credentials ! . clientToken } ` ,
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ export interface CloudUserInfo {
1616}
1717
1818/**
19- * Clerk Organization Membership Types
19+ * CloudOrganization Types
2020 */
2121
22- export interface ClerkOrganization {
22+ export interface CloudOrganization {
2323 id : string
2424 name : string
2525 slug ?: string
@@ -29,17 +29,17 @@ export interface ClerkOrganization {
2929 updated_at ?: number
3030}
3131
32- export interface ClerkOrganizationMembership {
32+ export interface CloudOrganizationMembership {
3333 id : string
34- organization : ClerkOrganization
34+ organization : CloudOrganization
3535 role : string
3636 permissions ?: string [ ]
3737 created_at ?: number
3838 updated_at ?: number
3939}
4040
41- export interface ClerkOrganizationMembershipsResponse {
42- data : ClerkOrganizationMembership [ ]
41+ export interface CloudOrganizationMembershipsResponse {
42+ data : CloudOrganizationMembership [ ]
4343 total_count ?: number
4444}
4545
You can’t perform that action at this time.
0 commit comments