Skip to content

Commit

Permalink
fix(mock): update project
Browse files Browse the repository at this point in the history
  • Loading branch information
syrosh committed Jun 4, 2024
1 parent 59a9bda commit fdf744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/mock-gitlab-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fastify.post('/api/v4/projects/:id/access_tokens', async (req, res) => {
await res.send(req.body)
})

fastify.post('/api/v4/projects/:id', async (req, res) => {
fastify.put('/api/v4/projects/:id', async (req, res) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
const id = Number((req.params as any).id)
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
Expand Down

0 comments on commit fdf744d

Please sign in to comment.