fix: remove leading / from s3 paths
This commit is contained in:
parent
295b76aad2
commit
bf34c77269
3 changed files with 10 additions and 10 deletions
|
|
@ -20,7 +20,7 @@ type DataExport struct {
|
|||
}
|
||||
|
||||
func (de DataExport) Path() string {
|
||||
return "/exports/" + de.UserID.String() + "/" + de.Filename + ".zip"
|
||||
return "exports/" + de.UserID.String() + "/" + de.Filename + ".zip"
|
||||
}
|
||||
|
||||
const ErrNoExport = errors.Sentinel("no data export exists")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue