fix: return error not S5Error

This commit is contained in:
Derrick Hammer 2024-03-02 04:55:04 -05:00
parent 7315f8e694
commit a96fc8682f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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)