Compare commits

..
Author SHA1 Message Date
phoenix 105c9f2456 tsk-24: Version bump 2025-12-30 18:46:14 -05:00
phoenix 13aef7798a tsk-24: Code formatting 2025-12-30 18:45:05 -05:00
phoenix 7cc10fd264 tsk-24: Added IssuedAt to token.LoginResult 2025-12-30 18:43:25 -05:00
4 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: |
echo "Creating version"
VERSION="0.1.1"
VERSION="0.0.14"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+3 -3
View File
@@ -5,7 +5,7 @@ import (
)
type Message struct {
Id *uuid.UUID `json:"id,omitempty"`
Content string `json:"content"`
UserId *uuid.UUID `json:"user_id,omitempty"`
Id uuid.UUID `json:"id"`
Content string `json:"content,omitempty"`
UserId uuid.UUID `json:"user_id"`
}
+2 -3
View File
@@ -7,9 +7,8 @@ import (
)
type ServiceUser struct {
Id uuid.UUID `json:"id"`
// TODO: Remove the omitempty tags at a later point
Id uuid.UUID `json:"id"`
Username string `json:"username,omitempty"`
Passphrase string `json:"passphrase,omitempty"`
Created time.Time `json:"created"`
Created time.Time `json:"date_created"`
}
+1 -1
View File
@@ -13,6 +13,6 @@ type User struct {
Password string `json:"password"`
Firstname *string `json:"first_name,omitempty"`
Lastname *string `json:"last_name,omitempty"`
Created time.Time `json:"created"`
Created time.Time `json:"date_created"`
LastLogin *time.Time `json:"last_login,omitempty"`
}