Fix the /embed endpoint #540
No reviewers
AkkomaGang/Owners
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#540
Loading…
Reference in a new issue
No description provided.
Delete branch "mikihau/akkoma:develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
/embed/<notice_id>
endpoint was introduced a couple of years ago (with this merge request), but it's currently broken and returning 500.This pull request puts this endpoint back to work again, so that we can embed a post with a snippet like this:
Please don't just copy files, especially when they are licensed in a way that requires attribution. A better way could be cherry-picking the relevant commit, or adding the files with a commit where you correctly set the author.
6ebf4046ea
to593ddbd796
@ilja Sounds good -- I cherry-picked the original commit so now the files should be correctly attributed. Whenever you're ready please take a look again.
this seems fine , thanks a lot!