Worked on anonymous access
This commit is contained in:
@@ -43,6 +43,11 @@ type GetAccountByIdQuery struct {
|
||||
Result *Account
|
||||
}
|
||||
|
||||
type GetAccountByNameQuery struct {
|
||||
Name string
|
||||
Result *Account
|
||||
}
|
||||
|
||||
type AccountDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
||||
@@ -84,6 +84,9 @@ type SearchUsersQuery struct {
|
||||
// DTO & Projections
|
||||
|
||||
type SignedInUser struct {
|
||||
IsSignedIn bool
|
||||
IsAnonymous bool
|
||||
|
||||
UserId int64
|
||||
AccountId int64
|
||||
AccountName string
|
||||
|
||||
Reference in New Issue
Block a user