Skip to content

Commit

Permalink
fix(account): export durable object classes (#2467)
Browse files Browse the repository at this point in the history
  • Loading branch information
szkl authored Jul 10, 2023
1 parent 1d654cd commit 04473a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/account/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import { serverOnError as onError } from '@proofzero/utils/trpc'

import { createContext } from './context'
import { appRouter } from './jsonrpc/router'
import Account from './nodes/account'
import IdentityGroup from './nodes/identity-group'
import type { Environment } from './types'

export { default as Account } from './nodes/account'
export { default as IdentityGroup } from './nodes/account'

export default {
async fetch(request: Request, env: Environment): Promise<Response> {
return fetchRequestHandler({
Expand All @@ -23,4 +24,3 @@ export default {
})
},
}
export { Account, IdentityGroup }

0 comments on commit 04473a6

Please sign in to comment.