Added logout API

This commit is contained in:
Luis Alvarez
2020-10-22 18:02:41 -05:00
parent f81c507157
commit b81d04b952
5 changed files with 68 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ export type BigcommerceApiHandler<
options: Options
) => void | Promise<void>
export type BigcommerceHandler<T = any, Body = any> = (options: {
export type BigcommerceHandler<T = any, Body = null> = (options: {
req: NextApiRequest
res: NextApiResponse<BigcommerceApiResponse<T>>
config: BigcommerceConfig