merge: fix XRD+XML serialisation of Alias (!780)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/780

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
Marie 2024-11-27 16:45:46 +00:00
commit 16909ed6bd

View file

@ -166,7 +166,7 @@ fastify.get('/.well-known/change-password', async (request, reply) => {
{ element: 'Link', attributes: self },
{ element: 'Link', attributes: profilePage },
{ element: 'Link', attributes: subscribe },
{ element: 'Alias', attributes: profileLink });
{ element: 'Alias', value: profileLink });
} else {
reply.type(jrd);
return {