fix: require reactions to be unique for owner, asset
add: cut off really long text in posts
This commit is contained in:
parent
a1c6beb664
commit
d7a37809ba
9 changed files with 27 additions and 37 deletions
|
@ -54,6 +54,7 @@
|
|||
});
|
||||
|
||||
self.define("react", async (_, element, asset, asset_type, is_like) => {
|
||||
await trigger("atto::debounce", ["reactions::toggle"]);
|
||||
fetch("/api/v1/reactions", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue