mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 15:03:01 -06:00
fmt
This commit is contained in:
parent
ec9974844c
commit
dcae936144
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ func (m *Module) AuthorizePOSTHandler(c *gin.Context) {
|
|||
c.JSON(http.StatusBadRequest, gin.H{"error": "session missing scope"})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
userID, ok := s.Get(sessionUserID).(string)
|
||||
if !ok {
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": "session missing userid"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue