Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix ip addr no optional

Smaug#673953f97647bd15
diff --git a/backend/models/log.model.go b/backend/models/log.model.go
index 8be91f7d..4ce3402f 100644
--- a/backend/models/log.model.go
+++ b/backend/models/log.model.go
@@ -3,7 +3,7 @@ package models
type Log struct {
Id int64 `json:"id"`
UserId int64 `json:"user_id"`
- IpAddr *string `json:"ip_address"`
+ IpAddr string `json:"ip_address"`
UserAgent *string `json:"user_agent"`
Location string `json:"location"`
Type string `json:"type"`