Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
suvam0451 committed Aug 3, 2024
1 parent 3167d96 commit 93dd40d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
import { KNOWN_SOFTWARE } from '../_router/instance.js';
import { LibraryPromise } from '../_router/routes/_types.js';
import { MastoMediaAttachment } from '../_interface.js';
import { notImplementedErrorBuilder } from '../_router/dto/api-responses.dto.js';

export class PleromaMediaRoute implements MediaRoute {
client: RestClient;
Expand All @@ -28,4 +29,8 @@ export class PleromaMediaRoute implements MediaRoute {
const data = await this.lib.client.uploadMedia(dto.file);
return { data: data as any };
}

async updateDescription() {
return notImplementedErrorBuilder();
}
}

0 comments on commit 93dd40d

Please sign in to comment.