UPDATE: try fix move s3
All checks were successful
Build and Release / release (push) Successful in 1m2s
All checks were successful
Build and Release / release (push) Successful in 1m2s
This commit is contained in:
@@ -384,7 +384,7 @@ func (m *mediaService) PreSignedCompleted(ctx context.Context, userId string, dt
|
|||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fiber.NewError(fiber.StatusInternalServerError, "Failed to move file to final destination")
|
return nil, fiber.NewError(fiber.StatusInternalServerError, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
media, err := m.mediaRepo.Create(ctx, sqlc.CreateMediaParams{
|
media, err := m.mediaRepo.Create(ctx, sqlc.CreateMediaParams{
|
||||||
|
|||||||
Reference in New Issue
Block a user