replace email with username

This commit is contained in:
2026-07-02 22:40:23 +02:00
parent 532f3f5faa
commit f56196e115
5 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ go build -o sheetless-server main.go
```bash
curl -X POST http://localhost:8080/auth/register \
-H "Content-Type: application/json" \
-d '{"username":"testuser","email":"test@example.com","password":"password123"}'
-d '{"username":"testuser","password":"password123"}'
```
### Login:
@@ -71,4 +71,4 @@ curl -X POST http://localhost:8080/api/sheets/upload \
### List sheets:
```bash
curl -H "Authorization: Bearer TOKEN" http://localhost:8080/api/sheets
```
```