replaced .* errors with constructors and added apisBinds tests

This commit is contained in:
Gani Georgiev
2023-06-23 22:20:13 +03:00
parent 1d20124467
commit 9bfcdd086a
4 changed files with 161 additions and 38 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ func RequestData(c echo.Context) *models.RequestData {
return result
}
// RecordAuthResponse generates and writes a properly formatted record
// auth response into the specified request context.
// RecordAuthResponse writes standardised json record auth response
// into the specified request context.
func RecordAuthResponse(
app core.App,
c echo.Context,