fix: return error not S5Error
This commit is contained in:
parent
7315f8e694
commit
a96fc8682f
|
@ -1305,7 +1305,7 @@ func (s *S5API) createAppMetadata(name string, tryFiles []string, errorPages map
|
|||
return app, nil
|
||||
}
|
||||
|
||||
func (s *S5API) uploadAppMetadata(appData *s5libmetadata.WebAppMetadata, r *http.Request) (string, *S5Error) {
|
||||
func (s *S5API) uploadAppMetadata(appData *s5libmetadata.WebAppMetadata, r *http.Request) (string, error) {
|
||||
userId := middleware.GetUserFromContext(r.Context())
|
||||
|
||||
appDataRaw, err := msgpack.Marshal(appData)
|
||||
|
|
Loading…
Reference in New Issue