mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-03-28 17:42:55 +01:00
fix: update handler parameter in generateAnonymousDownloadUrl to improve code clarity
This commit is contained in:
@@ -332,7 +332,7 @@ export const generateAnonymousDownloadUrl = mutation({
|
||||
build: v.object(buildFields),
|
||||
slug: v.string(),
|
||||
},
|
||||
handler: async (ctx, args) => {
|
||||
handler: async (_ctx, args) => {
|
||||
let objectKey = args.build.artifactPath || ''
|
||||
if (objectKey.startsWith('/')) {
|
||||
objectKey = objectKey.substring(1)
|
||||
|
||||
Reference in New Issue
Block a user