Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Oct 27, 2023
1 parent e808dbe commit dd83e0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3135,12 +3135,12 @@ export interface DataWarehouseViewLink {
from_join_key?: string
}

export interface ExternalDataStripeResourceCreatePayload {
export interface ExternalDataStripeSourceCreatePayload {
account_id: string
client_secret: string
}

export interface ExternalDataStripeResource {
export interface ExternalDataStripeSource {
id: string
source_id: string
connection_id: string
Expand Down
2 changes: 1 addition & 1 deletion posthog/warehouse/api/external_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def create(self, request: Request, *args: Any, **kwargs: Any) -> Response:
ExternalDataSource.objects.create(
source_id=new_source.source_id,
connection_id=new_connection.connection_id,
team=self.request.user.current_team,
team=self.team,
status="running",
source_type="Stripe",
)
Expand Down

0 comments on commit dd83e0f

Please sign in to comment.