Skip to content

Commit

Permalink
FIX: Correct staging prefix for file upload on project creation
Browse files Browse the repository at this point in the history
* Sync with sbeacon upstream
  • Loading branch information
NickEdwards7502 committed Jan 10, 2025
1 parent 1dbd75c commit 6ba252e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sbeacon
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class DataSubmissionFormComponent {
async uploadFile(path: string, file: File): Promise<string> {
this.fileProgress.set(file.name, 0);
try {
await Storage.put(`/staging/projects/${path}/${file.name}`, file, {
await Storage.put(`staging/projects/${path}/${file.name}`, file, {
customPrefix: { public: '' },
progressCallback: (progress: { loaded: number; total: number }) => {
this.fileProgress.set(file.name, progress.loaded);
Expand Down

0 comments on commit 6ba252e

Please sign in to comment.