merge: Show instance sponsors if OC is set as donation url (!642)

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

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Julia <julia@insertdomain.name>
This commit is contained in:
Marie 2024-10-08 18:07:58 +00:00
commit 72a0f16b38
6 changed files with 165 additions and 28 deletions

View file

@ -4269,7 +4269,7 @@ declare module '../api.js' {
): Promise<SwitchCaseResponseType<E, P>>;
/**
* Get Sharkey Sponsors
* Get Sharkey Sponsors or Instance Sponsors
*
* **Credential required**: *No*
*/

View file

@ -3689,7 +3689,7 @@ export type paths = {
'/sponsors': {
/**
* sponsors
* @description Get Sharkey Sponsors
* @description Get Sharkey Sponsors or Instance Sponsors
*
* **Credential required**: *No*
*/
@ -28079,7 +28079,7 @@ export type operations = {
};
/**
* sponsors
* @description Get Sharkey Sponsors
* @description Get Sharkey Sponsors or Instance Sponsors
*
* **Credential required**: *No*
*/
@ -28089,6 +28089,8 @@ export type operations = {
'application/json': {
/** @default false */
forceUpdate?: boolean;
/** @default false */
instance?: boolean;
};
};
};