Skip to content

Commit

Permalink
account name adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Barros authored and Gabriel Barros committed Sep 20, 2023
1 parent 5480d0c commit 634b717
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions node/resolvers/getWorkspaces.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { ACCOUNT } from '@vtex/api'

export const getWorkspaces = async (_: unknown, __: unknown, ctx: Context) => {
const { workspaces } = ctx.clients
const result = await workspaces.list(ACCOUNT)
const result = await workspaces.list(ctx.vtex.account)

return result
}

0 comments on commit 634b717

Please sign in to comment.