mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
Removes UsersSerializer from scenario test
This commit is contained in:
parent
74b27f7525
commit
299e314b88
1 changed files with 1 additions and 4 deletions
|
@ -245,10 +245,7 @@ func getUsersOfScenario(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
serializer := common.UsersSerializer{c, allUsers}
|
c.JSON(http.StatusOK, gin.H{"users": allUsers})
|
||||||
c.JSON(http.StatusOK, gin.H{
|
|
||||||
"users": serializer.Response(false),
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// addUserToScenario godoc
|
// addUserToScenario godoc
|
||||||
|
|
Loading…
Add table
Reference in a new issue