Fork of github.com/did-method-plc/did-method-plc
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix mock db

dholms 750845b4 4da6c6d5

+2 -7
+2 -7
packages/server/src/db/mock.ts
··· 1 - import { cidForCbor, check } from '@atproto/common' 1 + import { cidForCbor } from '@atproto/common' 2 2 import * as plc from '@did-plc/lib' 3 3 import { ServerError } from '../error' 4 4 import { PlcDatabase } from './types' ··· 48 48 49 49 async opsForDid(did: string): Promise<plc.CompatibleOpOrTombstone[]> { 50 50 const ops = await this.indexedOpsForDid(did) 51 - return ops.map((op) => { 52 - if (check.is(op.operation, plc.def.createOpV1)) { 53 - return plc.normalizeOp(op.operation) 54 - } 55 - return op.operation 56 - }) 51 + return ops.map((op) => op.operation) 57 52 } 58 53 59 54 async indexedOpsForDid(