Skip to content

Commit

Permalink
hotfix: set app.configured to True on create/configure externals appt…
Browse files Browse the repository at this point in the history
…ype (#351)
  • Loading branch information
elitonzky authored Aug 31, 2023
1 parent 899fce0 commit f954ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions marketplace/core/types/externals/chatgpt/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def create(self, request, *args, **kwargs):
code=type_code,
config=config_data,
project_uuid=project_uuid,
configured=True,
platform=App.PLATFORM_WENI_FLOWS,
created_by=request.user,
flow_object_uuid=flows_data.get("uuid"),
Expand Down
1 change: 1 addition & 0 deletions marketplace/core/types/externals/omie/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def configure(self, request, **kwargs):
)
app.flow_object_uuid = response.json().get("uuid")
app.config["title"] = response.json().get("name")
app.configured = True
app.save()

return Response(serializer.data)
Expand Down

0 comments on commit f954ca1

Please sign in to comment.