Added a sub to user for it to be more easily mappable to matrix
This commit is contained in:
parent
402c310677
commit
9c57a49f0c
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -577,7 +577,7 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
user := gin.H{"name": username}
|
user := gin.H{"name": username, "sub": uniqueid}
|
||||||
|
|
||||||
c.JSON(200, gin.H{"sub": uniqueid, "user": user})
|
c.JSON(200, gin.H{"sub": uniqueid, "user": user})
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue