forked from woem.men/forkey
Compare commits
2 commits
125bf6fe93
...
67c323a8f2
Author | SHA1 | Date | |
---|---|---|---|
67c323a8f2 | |||
9443b99399 |
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ export class ApiServerService {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
private createMisskeyServer(fastify: FastifyInstance, options: FastifyPluginOptions, done: (err?: Error) => void) {
|
||||
public createMisskeyServer(fastify: FastifyInstance, options: FastifyPluginOptions, done: (err?: Error) => void) {
|
||||
for (const endpoint of endpoints) {
|
||||
const ep = {
|
||||
name: endpoint.name,
|
||||
|
@ -196,7 +196,7 @@ export class ApiServerService {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
private createMastodonServer(fastify: FastifyInstance, options: FastifyPluginOptions, done: (err?: Error) => void) {
|
||||
public createMastodonServer(fastify: FastifyInstance, options: FastifyPluginOptions, done: (err?: Error) => void) {
|
||||
fastify.register(fastifyFormbody);
|
||||
|
||||
const createEndpoint = (endpoint: IMastodonEndpoint): IMastodonEndpoint & { exec: any } => ({
|
||||
|
|
Loading…
Reference in a new issue