Skip to content

Commit

Permalink
fix: regression from store -> all name change (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala authored Oct 10, 2022
1 parent 960b404 commit 14a6a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/access/src/capabilities/identity.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { capability, URI } from '@ucanto/server'
// @ts-ignore
// eslint-disable-next-line no-unused-vars
import { store } from './store.js'
import * as Store from './store.js'
import { canDelegateURI, equalWith } from './utils.js'

export const validate = capability({
Expand Down Expand Up @@ -34,7 +34,7 @@ export const register = capability({
* capability that has matichng `with`. This allows store service
* to identify account based on any user request.
*/
export const identify = store.derive({
export const identify = Store.all.derive({
to: capability({
can: 'identity/identify',
with: URI.match({ protocol: 'did:' }),
Expand Down

0 comments on commit 14a6a5b

Please sign in to comment.