mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 01:22:48 +00:00
build: eslint
This commit is contained in:
@@ -8,7 +8,7 @@ export class ArchiveService {
|
||||
return _.orderBy(data, 'created_at', ['desc']);
|
||||
}
|
||||
|
||||
public static postVideoArchive(data: any): Promise<any> {
|
||||
public static postVideoArchive(data: { url: string }): Promise<unknown> {
|
||||
return axios.post('/api/video-archive', data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user