~netlandish/links-dev

links: Fix issue when exporting data. This is left over from the migration from integer values to string/enum. v1 APPLIED

Peter Sanchez: 1
 Fix issue when exporting data. This is left over from the migration from integer values to string/enum.

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.code.netlandish.com/~netlandish/links-dev/patches/205/mbox | git am -3
Learn more about email & git

[PATCH links] Fix issue when exporting data. This is left over from the migration from integer values to string/enum. Export this patch

Changelog-fixed: Bug when a user wants to export their data.
---
 models/models.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/models.go b/models/models.go
index b2d1ec5..67cc9b2 100644
--- a/models/models.go
+++ b/models/models.go
@@ -344,7 +344,7 @@ type ExportOrgLink struct {
	Title       string      `db:"title" json:"title"`
	Description string      `db:"description" json:"description"`
	URL         string      `db:"url" json:"url"`
	Visibility  int         `db:"visibility" json:"visibility"`
	Visibility  string      `db:"visibility" json:"visibility"`
	Unread      bool        `db:"unread" json:"unread"`
	Starred     bool        `db:"starred" json:"starred"`
	Hash        string      `db:"hash" json:"hash"`
-- 
2.52.0
Applied.

To git@git.code.netlandish.com:~netlandish/links
   2201d25..6ddf2e8  master -> master