mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-02-05 16:34:43 +00:00
Fixing DeleteImage params.
This commit is contained in:
parent
6f9eee4e90
commit
79d4a8cb69
2 changed files with 4 additions and 1 deletions
|
@ -109,6 +109,7 @@ import { SiteResponse } from "./types/SiteResponse";
|
|||
import { TransferCommunity } from "./types/TransferCommunity";
|
||||
import { VerifyEmail } from "./types/VerifyEmail";
|
||||
import {
|
||||
DeleteImageParamsI,
|
||||
GetCommentI,
|
||||
GetCommentsI,
|
||||
GetCommunityI,
|
||||
|
@ -2128,7 +2129,7 @@ export class LemmyHttp extends Controller {
|
|||
*/
|
||||
@Delete("/image")
|
||||
async deleteImage(
|
||||
@Body() form: DeleteImageParams,
|
||||
@Queries() form: DeleteImageParamsI,
|
||||
@Inject() options?: RequestOptions,
|
||||
) {
|
||||
return this.#wrapper<DeleteImageParams, SuccessResponse>(
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { DeleteImageParams } from "./types/DeleteImageParams";
|
||||
import { GetComment } from "./types/GetComment";
|
||||
import { GetComments } from "./types/GetComments";
|
||||
import { GetCommunity } from "./types/GetCommunity";
|
||||
|
@ -63,3 +64,4 @@ export interface GetRegistrationApplicationI
|
|||
export interface ListCustomEmojisI extends ListCustomEmojis {}
|
||||
export interface ListTaglinesI extends ListTaglines {}
|
||||
export interface ListReportsI extends ListReports {}
|
||||
export interface DeleteImageParamsI extends DeleteImageParams {}
|
||||
|
|
Loading…
Reference in a new issue