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

Commit

Permalink
fix scan public links (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 authored Aug 23, 2023
1 parent fd554a8 commit afd6f89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cbox/utils/conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package utils

import (
"database/sql"
"strings"
"time"

Expand Down Expand Up @@ -51,7 +52,7 @@ type DBShare struct {
Quicklink bool
Description string
NotifyUploads bool
NotifyUploadsExtraRecipients string
NotifyUploadsExtraRecipients sql.NullString
}

// FormatGrantee formats a CS3API grantee to a string.
Expand Down Expand Up @@ -257,6 +258,6 @@ func ConvertToCS3PublicShare(s DBShare) *link.PublicShare {
Quicklink: s.Quicklink,
Description: s.Description,
NotifyUploads: s.NotifyUploads,
NotifyUploadsExtraRecipients: s.NotifyUploadsExtraRecipients,
NotifyUploadsExtraRecipients: s.NotifyUploadsExtraRecipients.String,
}
}

0 comments on commit afd6f89

Please sign in to comment.