TypeError: context.agent.dataStoreSaveVerifiableCredential is not a function #572
Answered
by
mirceanis
RobertoSnap
asked this question in
Q&A
-
Trying to save a VC
Getting TypeError: TypeError: context.agent.dataStoreSaveVerifiableCredential is not a function Have I forgot to import something? |
Beta Was this translation helpful? Give feedback.
Answered by
mirceanis
Jun 17, 2021
Replies: 1 comment 1 reply
-
you are probably missing some data store plugins in your agent setup: agent = createAgent<
//...
& IDataStore
& IDataStoreORM
>({
// ...
plugins: [
// ...
new DataStore(dbConnection),
new DataStoreORM(dbConnection),
]}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RobertoSnap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you are probably missing some data store plugins in your agent setup: