[server] Fixed typoe

This commit is contained in:
Neeraj Gupta
2025-01-08 15:47:55 +05:30
parent 60fcba38cc
commit e2f62a390d

View File

@@ -12,8 +12,8 @@ import (
type CreatePublicAccessTokenRequest struct {
CollectionID int64 `json:"collectionID" binding:"required"`
EnableCollect bool `json:"enableCollect"`
// defaults to true
EnableJoin *bool `json:"joinViaLink"`
// defaults to false
EnableJoin *bool `json:"enableJoin"`
ValidTill int64 `json:"validTill"`
DeviceLimit int `json:"deviceLimit"`
}