Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
fixup! Implementation of MSC2246
Browse files Browse the repository at this point in the history
  • Loading branch information
hifi committed Apr 4, 2022
1 parent 175884f commit 0d1f8a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/webserver/route_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
case common.ErrCodeUnknownToken:
statusCode = http.StatusUnauthorized
break
case common.ErrCodeNotFound:
case common.ErrCodeNotYetUploaded:
case common.ErrCodeNotYetUploaded, common.ErrCodeNotFound:
statusCode = http.StatusNotFound
break
case common.ErrCodeMediaTooLarge:
Expand Down

0 comments on commit 0d1f8a5

Please sign in to comment.