fix uploads url issue

This commit is contained in:
KMKoushik committed 2024-08-26 21:08:59 +10:00
1 parent f9105971f0
commit 9cd628f6ce
1 file changed
+1 -1
+1 -1
View File
@@ -210,7 +210,7 @@ export const campaignRouter = createTRPCRouter({
input.type
);
const imageUrl = `${env.S3_COMPATIBLE_PUBLIC_URL}/${DEFAULT_BUCKET}/${team.id}/${randomName}`;
const imageUrl = `${env.S3_COMPATIBLE_PUBLIC_URL}/${team.id}/${randomName}`;
return { uploadUrl: url, imageUrl };
}),