diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-28 23:32:41 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-28 23:32:41 +0530 |
commit | 0607478f1e4c86619a606af7876a6625e859ee1a (patch) | |
tree | 308c7a03e911994452a903d029c8cacd9a824d32 /user/user.go | |
parent | 31e9605652faf350291634f5a2d642573f320e66 (diff) |
created endpoint to get logged in user's info
Diffstat (limited to 'user/user.go')
-rw-r--r-- | user/user.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user/user.go b/user/user.go index 4c41f24..30ae333 100644 --- a/user/user.go +++ b/user/user.go @@ -28,6 +28,8 @@ var db *mongo.Collection = database.DB.Collection("Users") // per-user config can be shared to DB type Config struct { + // just CSS variable overrides for the frontend + Styling string `bson:"Styling" json:"Styling"` } type Session struct { |