diff --git a/src/http.ts b/src/http.ts index 9996207..19a705a 100644 --- a/src/http.ts +++ b/src/http.ts @@ -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( diff --git a/src/other_types.ts b/src/other_types.ts index 8f7e373..7d694c4 100644 --- a/src/other_types.ts +++ b/src/other_types.ts @@ -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 {}