Skip to content

Commit

Permalink
fix: adds missing error on PostgrestSingleResponseSuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwicopple committed Jan 18, 2021
1 parent 8cf6e00 commit 8b1c85c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ interface PostgrestResponseFailure extends PostgrestResponseBase {
export type PostgrestResponse<T> = PostgrestResponseSuccess<T> | PostgrestResponseFailure

interface PostgrestSingleResponseSuccess<T> extends PostgrestResponseBase {
error: null
data: T
// For backward compatibility: body === data
body: T
Expand Down

0 comments on commit 8b1c85c

Please sign in to comment.