dynamic plugin system, toast notifications, board delete, gitea-sync plugin rewrite, granular locking fixes
This commit is contained in:
@@ -5,7 +5,7 @@ import { unlink } from "node:fs/promises";
|
||||
import { resolve } from "node:path";
|
||||
import prisma from "../lib/prisma.js";
|
||||
import { verifyChallenge } from "../services/altcha.js";
|
||||
import { fireWebhook } from "../services/webhooks.js";
|
||||
import { firePluginEvent } from "../services/webhooks.js";
|
||||
import { decrypt } from "../services/encryption.js";
|
||||
import { masterKey } from "../config.js";
|
||||
import { shouldCount } from "../lib/view-tracker.js";
|
||||
@@ -542,7 +542,7 @@ export default async function postRoutes(app: FastifyInstance) {
|
||||
},
|
||||
});
|
||||
|
||||
fireWebhook("post_created", {
|
||||
firePluginEvent("post_created", {
|
||||
postId: post.id,
|
||||
title: post.title,
|
||||
type: post.type,
|
||||
|
||||
Reference in New Issue
Block a user