backend integration

This commit is contained in:
Drew Ansbacher
2021-09-01 11:13:46 -06:00
committed by Aiden McClelland
parent 064c905bd3
commit 4b2a032ae0
6 changed files with 51 additions and 31 deletions

View File

@@ -17,10 +17,10 @@ export class ServerLogsPage {
) { }
fetchFetchLogs (): Function {
return async (params: { before?: string, after?: string, limit: number }) => {
return async (params: { before_flag?: boolean, limit?: number, cursor?: string }) => {
return this.embassyApi.getServerLogs({
after: params.after,
before: params.before,
before_flag: params.before_flag,
cursor: params.cursor,
limit: params.limit,
})
}