Skip to content

Commit

Permalink
feat: fixed add endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloAyranji committed Mar 26, 2024
1 parent 273d9af commit 5671fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/backend/express/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ interface SubnameAdd {
message: string;
}

app.post('api/subnames/add', async (req: Request<SubnameAdd>, res) => {
app.post('/api/subnames/add', async (req: Request<SubnameAdd>, res) => {
const username = req.body.username;

if(!username) {
Expand Down

0 comments on commit 5671fb5

Please sign in to comment.