diff --git a/src/accounts/api/views.py b/src/accounts/api/views.py index 751bda4..898239d 100644 --- a/src/accounts/api/views.py +++ b/src/accounts/api/views.py @@ -167,7 +167,7 @@ class RequestVerificationTokenView(APIView): **Requires Token authentication** """ - def post(self, *args, **kwargs): + def get(self, *args, **kwargs): verification_token = uuid4() try: diff --git a/src/persistence/migrations/0001_initial.py b/src/persistence/migrations/0001_initial.py index 8766789..1fb9dab 100644 --- a/src/persistence/migrations/0001_initial.py +++ b/src/persistence/migrations/0001_initial.py @@ -16,21 +16,6 @@ class Migration(migrations.Migration): ] operations = [ - migrations.CreateModel( - name='Other', - fields=[ - ('account', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='accounts.account')), - ('other_data', models.JSONField(default=dict)), - ], - ), - migrations.CreateModel( - name='PolyPhrase', - fields=[ - ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('said_by', models.CharField(blank=True, default='Who knows?', max_length=28)), - ('phrase', models.CharField(max_length=128)), - ], - ), migrations.CreateModel( name='Character', fields=[