fix: wrong sub return and docker-compose boolean value error. (#375)

* fix: wrong sub return

Signed-off-by: 0x2a <stevesough@gmail.com>

* fix: yaml bool value must be enclosed in quotes

Signed-off-by: 0x2a <stevesough@gmail.com>
This commit is contained in:
Steve0x2a
2021-12-16 11:10:25 +08:00
committed by GitHub
parent 98f6cc0085
commit 2f70e77e53
3 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ func (c *ApiController) GetAccount() {
organization := object.GetMaskedOrganization(object.GetOrganizationByUser(user))
resp := Response{
Status: "ok",
Sub: userId,
Sub: user.Id,
Data: user,
Data2: organization,
}