mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-09 16:42:48 +00:00
10 lines
278 B
TypeScript
10 lines
278 B
TypeScript
import { IUserEventLog } from '../model';
|
|
import { axios } from './axios.service';
|
|
|
|
export class UserEventLogService {
|
|
public static async getUserEventLogs(): Promise<IUserEventLog[]> {
|
|
const resp = await axios.get('/api/user-event-log');
|
|
return resp.data.data;
|
|
}
|
|
}
|