fix(row_level_security): Correct api response code for update (#34672)

This commit is contained in:
Mehmet Salih Yavuz
2025-08-13 23:51:10 +03:00
committed by GitHub
parent 58ebc57285
commit ecfb9f7d7c
2 changed files with 2 additions and 2 deletions

View File

@@ -285,7 +285,7 @@ class RLSRestApi(BaseSupersetModelRestApi):
try:
new_model = UpdateRLSRuleCommand(pk, item).run()
return self.response(201, id=new_model.id, result=item)
return self.response(200, id=new_model.id, result=item)
except RolesNotFoundValidationError as ex:
logger.error(
"Role not found while updating RLS rule %s: %s",