Browse Source

feat; fixing the default public bug

tags/vopendata0.1.2
colorfulberry 5 years ago
parent
commit
7e5a6d8923
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/attachment.go

+ 1
- 0
routers/repo/attachment.go View File

@@ -261,6 +261,7 @@ func AddAttachment(ctx *context.Context) {
_, err = models.InsertAttachment(&models.Attachment{
UUID: uuid,
UploaderID: ctx.User.ID,
IsPrivate: true,
Name: ctx.Query("file_name"),
Size: ctx.QueryInt64("size"),
DatasetID: ctx.QueryInt64("dataset_id"),


Loading…
Cancel
Save