@@ -614,13 +614,11 @@ class CreatePhoneTokenView(
614614 )
615615
616616 @swagger_auto_schema (
617- operation_description = (
618- """
617+ operation_description = ("""
619618 **Requires the user auth token (Bearer Token).**
620619 Used for SMS verification, sends a code via SMS to the
621620 phone number of the user.
622- """
623- ),
621+ """ ),
624622 request_body = no_body ,
625623 responses = {201 : "" },
626624 )
@@ -694,14 +692,12 @@ class GetPhoneTokenStatusView(DispatchOrgMixin, GenericAPIView):
694692 serializer_class = serializers .Serializer
695693
696694 @swagger_auto_schema (
697- operation_description = (
698- """
695+ operation_description = ("""
699696 **Requires the user auth token (Bearer Token).**
700697 Used for SMS verification, allows checking whether an active
701698 SMS token was already requested for the mobile phone number
702699 of the logged in account.
703- """
704- ),
700+ """ ),
705701 responses = {200 : '`{"active":"true/false"}`' },
706702 )
707703 def get (self , request , * args , ** kwargs ):
@@ -785,13 +781,11 @@ class ChangePhoneNumberView(ThrottledAPIMixin, CreatePhoneTokenView):
785781 serializer_class = ChangePhoneNumberSerializer
786782
787783 @swagger_auto_schema (
788- operation_description = (
789- """
784+ operation_description = ("""
790785 **Requires the user auth token (Bearer Token).**
791786 Allows users to change their phone number, will flag the
792787 user as inactive and send them a verification code via SMS.
793- """
794- ),
788+ """ ),
795789 responses = {200 : "" },
796790 )
797791 def post (self , request , * args , ** kwargs ):
0 commit comments