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

From: Peter Sanchez <[email-masked]>
Date: Mon, 29 Dec 2025 18:36:41 -0600

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