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

Commit

Permalink
Unclaim when de-duping files
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 committed Nov 6, 2024
1 parent 5c85cd0 commit a7b5a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions file.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func IngestMultipartFile(
f.Filename = cleanFilename(fileHeader.Filename)
f.UploadedBy = uploader.Username
f.UploadedAt = time.Now().Unix()
f.Claimed = false
} else {
// Create file details
f = File{
Expand Down

0 comments on commit a7b5a83

Please sign in to comment.