mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
fix: remove moderation rule from playlist descriptions (#1084)
This commit is contained in:
@@ -8,7 +8,6 @@ use App\Contracts\GraphQL\Fields\CreatableField;
|
||||
use App\Contracts\GraphQL\Fields\UpdatableField;
|
||||
use App\GraphQL\Schema\Fields\StringField;
|
||||
use App\Models\List\Playlist;
|
||||
use App\Rules\ModerationRule;
|
||||
|
||||
class PlaylistDescriptionField extends StringField implements CreatableField, UpdatableField
|
||||
{
|
||||
@@ -31,7 +30,6 @@ class PlaylistDescriptionField extends StringField implements CreatableField, Up
|
||||
'nullable',
|
||||
'string',
|
||||
'max:1000',
|
||||
new ModerationRule(),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -44,7 +42,6 @@ class PlaylistDescriptionField extends StringField implements CreatableField, Up
|
||||
'nullable',
|
||||
'string',
|
||||
'max:1000',
|
||||
new ModerationRule(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ use App\Contracts\Http\Api\Field\CreatableField;
|
||||
use App\Http\Api\Field\StringField;
|
||||
use App\Http\Api\Schema\Schema;
|
||||
use App\Models\List\ExternalProfile;
|
||||
use App\Rules\ModerationRule;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ExternalProfileNameField extends StringField implements CreatableField
|
||||
@@ -24,7 +23,6 @@ class ExternalProfileNameField extends StringField implements CreatableField
|
||||
'required',
|
||||
'string',
|
||||
'max:192',
|
||||
new ModerationRule(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ class PlaylistDescriptionField extends StringField implements CreatableField, Up
|
||||
'nullable',
|
||||
'string',
|
||||
'max:1000',
|
||||
new ModerationRule(),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -35,7 +34,6 @@ class PlaylistDescriptionField extends StringField implements CreatableField, Up
|
||||
'nullable',
|
||||
'string',
|
||||
'max:1000',
|
||||
new ModerationRule(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user