Skip to content

Commit

Permalink
figure out what type user is
Browse files Browse the repository at this point in the history
  • Loading branch information
Christinarlong committed Sep 21, 2024
1 parent 0cc3bc5 commit cd07b84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def post(self, request: Request, organization) -> Response:
except SentryAppInstallation.DoesNotExist:
assert isinstance(
request.user, User
), "user must be authenticated to create a SentryAppInstallation"
), f"user must be authenticated to create a SentryAppInstallation, currently is {type(request.user)}"
install = SentryAppInstallationCreator(
organization_id=organization.id, slug=slug, notify=True
).run(user=request.user, request=request)
Expand Down

0 comments on commit cd07b84

Please sign in to comment.