|
|
@@ -107,7 +107,7 @@ export class FishController {
|
|
|
|
|
|
async update(request: FastifyRequest<{ Body: UpdateFishBody }>, reply: FastifyReply) {
|
|
|
try {
|
|
|
- const { id, ...updateData } = request.body
|
|
|
+ const { id, ip, ...updateData } = request.body
|
|
|
|
|
|
// 检查记录是否存在
|
|
|
try {
|