Skip to content

Commit

Permalink
docs: optimize comments
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Jun 21, 2024
1 parent 3ed0098 commit 806e3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orm/ent/tenantctx/tenant_ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const TENANT_ADMIN = "tenant-admin"

// GetTenantIDFromCtx returns tenant id from context.
// If error occurs, return 0.
// If error occurs, return default tenant ID.
func GetTenantIDFromCtx(ctx context.Context) uint64 {
var tenantId string
var ok bool
Expand Down

0 comments on commit 806e3fd

Please sign in to comment.