From 4548de5c60935692917dd05318e897948f461508 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 16 May 2023 17:11:38 -0400 Subject: [PATCH] refactor: change storing path to just ID and fetch from upload via the tus store --- model/tus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/tus.go b/model/tus.go index 9530caf..a9777bc 100644 --- a/model/tus.go +++ b/model/tus.go @@ -7,6 +7,6 @@ import ( type Tus struct { gorm.Model UploadID string `gorm:"primaryKey"` - Path string + Id string Hash string }