Skip to content

Commit

Permalink
feat: modify type of data source for account expired and status apis (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rolin999 authored Dec 3, 2024
1 parent c8e1819 commit a6e1adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bk-user/bkuser/apis/web/organization/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class TenantUserAccountExpiredAtBatchUpdateApi(
)
def put(self, request, *args, **kwargs):
cur_tenant_id = self.get_current_tenant_id()
data_source = self.get_current_tenant_local_real_data_source()
data_source = self.get_current_tenant_real_data_source()

slz = TenantUserAccountExpiredAtBatchUpdateInputSLZ(
data=request.data, context={"tenant_id": cur_tenant_id, "data_source_id": data_source.id}
Expand Down Expand Up @@ -1073,7 +1073,7 @@ class TenantUserStatusBatchUpdateApi(
)
def put(self, request, *args, **kwargs):
cur_tenant_id = self.get_current_tenant_id()
data_source = self.get_current_tenant_local_real_data_source()
data_source = self.get_current_tenant_real_data_source()

slz = TenantUserStatusBatchUpdateInputSLZ(
data=request.data,
Expand Down

0 comments on commit a6e1adc

Please sign in to comment.