Skip to content

Commit

Permalink
[UPDATE] 解决 central-dashboard 编译异常问题
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Yeh <[email protected]>
  • Loading branch information
alan-yeh committed Jan 4, 2025
1 parent aedd6c6 commit eac9b80
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ public StorageObject updateObject(@Validated @RequestBody ObjectParams params, @
throw new ResponseStatusException(HttpStatus.BAD_REQUEST, Stringx.format("文件[id={}]不存在", params.getId()));
}

var input = object.toInput();
input.setName(params.getName());
input.setConfirmed(params.getConfirmed());
var input = object.toInput()
.name(params.getName())
.confirmed(params.getConfirmed())
.build();
return this.logic.updateObject(input, accountId, tenant);
}

Expand Down

0 comments on commit eac9b80

Please sign in to comment.