forked from sanchezvem/pyrofetes-backend
Put roles into endpoints
This commit is contained in:
@@ -11,7 +11,7 @@ public class PatchSettingLogoEndpoint(SettingsRepository settingsRepository) : E
|
||||
{
|
||||
Patch("/settings/logo");
|
||||
AllowFormData();
|
||||
AllowAnonymous();
|
||||
Roles("Admin");
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(PatchSettingLogoDto req, CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user