Fixed settings stuff

This commit is contained in:
2025-10-17 11:36:28 +02:00
parent 56e8857c7c
commit 8f43b7958b
7 changed files with 39 additions and 53 deletions
+8 -1
View File
@@ -19,7 +19,14 @@ export async function POST(req: NextRequest) {
{ status: StatusCodes.BAD_REQUEST }
);
if (!username || !display_name || !avatar_url)
if (
!username ||
!display_name ||
avatar_url === undefined ||
avatar_url === null ||
node_address === undefined ||
node_address === null
)
return NextResponse.json(
{
message: