Fix TS type: status literal union for PushEvent
This commit is contained in:
@@ -290,7 +290,7 @@ export const api = {
|
||||
|
||||
getLog: (slug: string) =>
|
||||
req<{
|
||||
pushEvents: { ts: string; action: string; roomNumber: string; netupRoom: string; url: string; status: string; httpStatus?: number; error?: string }[]
|
||||
pushEvents: { ts: string; action: string; roomNumber: string; netupRoom: string; url: string; status: 'ok' | 'error' | 'skipped'; httpStatus?: number; error?: string }[]
|
||||
pullRequests: { ts: string; method: string; url: string; headers: Record<string, unknown>; query: Record<string, unknown>; body: unknown }[]
|
||||
}>('GET', `/api/hotels/${slug}/netup/log`),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user