chore: get api key from coookie

This commit is contained in:
Sebastian Velez
2023-02-15 12:25:19 -05:00
parent ffd2a48b29
commit 00209ec96f
5 changed files with 35 additions and 4 deletions

View File

@@ -52,3 +52,11 @@ export interface CurrentUser {
pending?: boolean;
user?: User;
}
export interface ApiKeyPayload {
data: ApiKey;
}
export interface ApiKey {
api_key: string;
}