IntelliTect / Coalesce

Quickly build amazing web apps
https://intellitect.github.io/Coalesce/
Apache License 2.0
65 stars 22 forks source link

Tenancy Template Nits #475

Closed meghanmae closed 1 month ago

meghanmae commented 1 month ago

Some small nits in the tenancy template code

In InvitationService.CreateAndSendInvitation

The tenant ID is passed in, but db.TenantIdOrThrow can be used in favor of it. image

In InvitationService.AcceptInvitation

The acceptingUser is a nullable parameter, this should be made non-nullable (the two references to this method should never pass in a null user) and the check for null should be removed image