Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 fix: use correct ApiResponse.Fail method name in TenantValidationMi…
…ddleware

Method is named Fail, not Failure.
  • Loading branch information
claude committed Dec 24, 2025
commit f0826ba62514055eaa871ff919bf1a2f5d26e5d3
2 changes: 1 addition & 1 deletion src/Luminous.Api/Middleware/TenantValidationMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task InvokeAsync(HttpContext context, ITenantContext tenantContext)
context.Response.StatusCode = StatusCodes.Status403Forbidden;
context.Response.ContentType = "application/json";

var response = ApiResponse<object>.Failure(
var response = ApiResponse<object>.Fail(
"TENANT_ACCESS_DENIED",
"You do not have access to this family's data.");

Expand Down
Loading