feat: Enhance texture upload functionality and API response format
- Introduced a new upload endpoint for direct texture file uploads, allowing users to upload textures with validation for size and format. - Updated existing texture-related API responses to a standardized format, improving consistency across the application. - Refactored texture service methods to handle file uploads and reuse existing texture URLs based on hash checks. - Cleaned up Dockerfile and other files by removing unnecessary whitespace.
This commit is contained in:
@@ -572,7 +572,7 @@ func TestTextureServiceImpl_Create(t *testing.T) {
|
||||
tt.textureType,
|
||||
"http://example.com/texture.png",
|
||||
tt.hash,
|
||||
1024,
|
||||
512,
|
||||
true,
|
||||
false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user