Skip to content

TypeError: context.agent.dataStoreSaveVerifiableCredential is not a function #572

Answered by mirceanis
RobertoSnap asked this question in Q&A
Discussion options

You must be logged in to vote

you are probably missing some data store plugins in your agent setup:

agent = createAgent<
  //...
  & IDataStore
  & IDataStoreORM
>({
    // ...
    plugins: [
      // ...
      new DataStore(dbConnection),
      new DataStoreORM(dbConnection),
    ]})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RobertoSnap
Comment options

Answer selected by RobertoSnap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants