Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 5571031

Browse files
committed
Change write identity publicKey to id.
1 parent fa4c4d3 commit 5571031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/orbitdb-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class OrbitdbAPI {
263263
method: ['POST', 'PUT'],
264264
path: '/db/{dbname}/access/write',
265265
handler: dbMiddleware( async (db, request, _h) => {
266-
await db.access.grant('write', request.payload.publicKey)
266+
await db.access.grant('write', request.payload.id)
267267
return {};
268268
})
269269
},

0 commit comments

Comments
 (0)