fix:oss创建bucket方法名拼写错误修复

This commit is contained in:
mijun 2024-02-19 15:47:09 +08:00 committed by lbw
parent 9e2f1aaba5
commit 50edcbb6ea

View File

@ -55,7 +55,7 @@ public class OssEndpoint {
*/
@SneakyThrows
@PostMapping("/bucket/{bucketName}")
public Bucket createBucker(@PathVariable String bucketName) {
public Bucket createBucket(@PathVariable String bucketName) {
template.createBucket(bucketName);
return template.getBucket(bucketName).get();