remodel json data for compatibility

This commit is contained in:
Adrian Zürcher
2025-04-26 23:14:50 +02:00
parent 85bd8de2a2
commit ea4719ff01
26 changed files with 672 additions and 550 deletions

6
models/errorResponse.go Normal file
View File

@@ -0,0 +1,6 @@
package models
type ErrorResponse struct {
Error bool `json:"error,omitempty"`
Message string `json:"message,omitempty"`
}