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 create connection export

Smaug#67395445d4485900
diff --git a/backend/services/log.service.go b/backend/services/log.service.go
index fca14f87..65e73123 100644
--- a/backend/services/log.service.go
+++ b/backend/services/log.service.go
@@ -13,6 +13,7 @@ type LogService interface {
GetConnections(userId int64) ([]*models.Log, error)
GetLastConnection(userId int64) (*models.Log, error)
GetLocationFromIp(ip string) string
+ CreateConnectionLog(log *models.Log) (*models.Log, error)
getLocationIdFromIp(ip string) (int64, error)
}