@@ -609,13 +609,11 @@ class CreatePhoneTokenView(
609609 )
610610
611611 @swagger_auto_schema (
612- operation_description = (
613- """
612+ operation_description = ("""
614613 **Requires the user auth token (Bearer Token).**
615614 Used for SMS verification, sends a code via SMS to the
616615 phone number of the user.
617- """
618- ),
616+ """ ),
619617 request_body = no_body ,
620618 responses = {201 : "" },
621619 )
@@ -689,14 +687,12 @@ class GetPhoneTokenStatusView(DispatchOrgMixin, GenericAPIView):
689687 serializer_class = serializers .Serializer
690688
691689 @swagger_auto_schema (
692- operation_description = (
693- """
690+ operation_description = ("""
694691 **Requires the user auth token (Bearer Token).**
695692 Used for SMS verification, allows checking whether an active
696693 SMS token was already requested for the mobile phone number
697694 of the logged in account.
698- """
699- ),
695+ """ ),
700696 responses = {200 : '`{"active":"true/false"}`' },
701697 )
702698 def get (self , request , * args , ** kwargs ):
@@ -780,13 +776,11 @@ class ChangePhoneNumberView(ThrottledAPIMixin, CreatePhoneTokenView):
780776 serializer_class = ChangePhoneNumberSerializer
781777
782778 @swagger_auto_schema (
783- operation_description = (
784- """
779+ operation_description = ("""
785780 **Requires the user auth token (Bearer Token).**
786781 Allows users to change their phone number, will flag the
787782 user as inactive and send them a verification code via SMS.
788- """
789- ),
783+ """ ),
790784 responses = {200 : "" },
791785 )
792786 def post (self , request , * args , ** kwargs ):
0 commit comments