Skip to content

Commit 98672f9

Browse files
committed
enfore authorization in header but allow other value
1 parent 01c1ab3 commit 98672f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lambda/types.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ export type Text = {
1010

1111
export type Payload = {
1212
headers: {
13-
"Content-Type": string,
1413
"Authorization": string
15-
},
14+
} & { [key: string]: string },
1615
data: JSON ,
1716

1817
}

0 commit comments

Comments
 (0)