Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
use asset upload path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Jun 5, 2024
1 parent cf21390 commit 3e827df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/LODs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import config from '@etherealengine/common/src/config'
import { Entity } from '@etherealengine/ecs/src/Entity'
import { GroupComponent, addObjectToGroup } from '@etherealengine/spatial/src/renderer/components/GroupComponent'
import { Template } from './utils/template'
import { uploadAssetPath } from '@etherealengine/common/src/schema.type.module'

// create rings for each LOD
const visualizeVariants = () => {
Expand Down Expand Up @@ -124,7 +125,7 @@ const LODsDND = () => {
)) as File[]
filenames.set(files.map((file) => file.name))

const uploadPromise = uploadToFeathersService('upload-asset', files, {
const uploadPromise = uploadToFeathersService(uploadAssetPath, files, {
type: 'admin-file-upload',
args: {
project: 'ee-development-test-suite'
Expand Down

0 comments on commit 3e827df

Please sign in to comment.