Skip to content

Commit

Permalink
more fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Nov 23, 2023
1 parent f084312 commit b27fe5e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/repco-activitypub/src/ap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class ActivityPub extends EventEmitter {
}
const keypair = generateRsaKeypairPem()
const data = { name, keypair }
await this.db.apLocalActor.create({ data })
return await this.db.apLocalActor.create({ data })
}

async listActors() {
Expand Down
1 change: 1 addition & 0 deletions packages/repco-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"level": "^8.0.0",
"multiformats": "^11.0.2",
"repco-common": "*",
"repco-activitypub": "*",
"repco-prisma": "*",
"rss-parser": "^3.12.0",
"speedometer": "^1.1.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/repco-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
{
"path": "../repco-prisma"
},
{
"path": "../repco-activitypub"
},
{
"path": "../repco-common"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/repco-server/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function runServer(prisma: PrismaClient, port: number) {
app.use(graphqlHandler)
app.use((_req, res, next) => {
res.locals.prisma = prisma
res.locals.log = logger.logger
res.locals.log = logger
next()
})

Expand Down
2 changes: 1 addition & 1 deletion packages/repco-server/src/routes/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from 'repco-core'
import { Readable } from 'stream'
import { router as adminRouter } from './admin.js'
import { ServerError } from '../error.js'
import { ServerError, notFoundHandler } from '../error.js'
import { getLocals } from '../lib.js'
import {
acceptNdJson,
Expand Down

0 comments on commit b27fe5e

Please sign in to comment.