backend integration

This commit is contained in:
Drew Ansbacher
2021-09-01 11:13:46 -06:00
committed by Matt Hill
parent 19eb4e2100
commit a112eb0f05
6 changed files with 51 additions and 31 deletions

View File

@@ -17,12 +17,12 @@ export class AppLogsPage {
) { }
fetchFetchLogs (): Function {
return async (params: { after?: string, before?: string, limit: number }) => {
return async (params: { before_flag?: boolean, limit?: number, cursor?: string }) => {
const pkgId = this.pkgId
return this.embassyApi.getPackageLogs({
id: pkgId,
after: params.after,
before: params.before,
before_flag: params.before_flag,
cursor: params.cursor,
limit: params.limit,
})
}