From edd62b9f0ec526fad2413e91d8a2263c2ff79840 Mon Sep 17 00:00:00 2001 From: Admin <1+admin@noreply.git.dcntrlized.org> Date: Sat, 29 Aug 2026 13:39:41 +0100 Subject: [PATCH] fix(manifest): advertise has_auth and fix public_key casing --- src/handlers/manifest/manifest.json | 3 ++- src/types/types.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/handlers/manifest/manifest.json b/src/handlers/manifest/manifest.json index 567aaba..eb26761 100644 --- a/src/handlers/manifest/manifest.json +++ b/src/handlers/manifest/manifest.json @@ -2,6 +2,7 @@ "name": "KeepNote", "author": "Dcntrlized", "capabilities": ["database"], - "publicKey": "", + "has_auth": true, + "public_key": "", "icon": "" } diff --git a/src/types/types.go b/src/types/types.go index 427843d..cde0245 100644 --- a/src/types/types.go +++ b/src/types/types.go @@ -7,7 +7,8 @@ type Manifest struct { Version *string `json:"version,omitempty"` Author string `json:"author"` Capabilities []string `json:"capabilities"` - PublicKey string `json:"publicKey"` + HasAuth bool `json:"has_auth"` + PublicKey string `json:"public_key"` Icon *string `json:"icon,omitempty"` }