feat(federation): Federate likes and unlikes

This commit is contained in:
Jesse Wierzbinski 2024-10-24 17:31:39 +02:00
parent 5a26bdf2f8
commit f494f76f82
No known key found for this signature in database
6 changed files with 22 additions and 6 deletions

View file

@ -366,7 +366,7 @@ export default apiRoute((app) =>
// "delete" is a reserved keyword in JS
delete: async (delete_) => {
// Delete the specified object from database, if it exists and belongs to the user
const toDelete = delete_.target;
const toDelete = delete_.deleted;
switch (delete_.deleted_type) {
case "Note": {