Skip to content

Commit

Permalink
minor: request_body -> query_serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux committed Nov 6, 2023
1 parent 9fe4624 commit 1f88f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/bkuser/apis/web/data_source/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def get_serializer_context(self):
@swagger_auto_schema(
tags=["data_source"],
operation_description="数据源更新记录",
request_body=DataSourceSyncRecordSearchInputSLZ(),
query_serializer=DataSourceSyncRecordSearchInputSLZ(),
responses={status.HTTP_200_OK: DataSourceSyncRecordListOutputSLZ(many=True)},
)
def get(self, request, *args, **kwargs):
Expand Down

0 comments on commit 1f88f9e

Please sign in to comment.