Skip to content

Commit

Permalink
Update internal/http/services/appprovider/appprovider.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonchaser authored Nov 20, 2024
1 parent cc41e7b commit 336e871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/appprovider/appprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (s *svc) handleNew(w http.ResponseWriter, r *http.Request) {

if touchRes.Status.Code != rpc.Code_CODE_OK {
if touchRes.Status.Code == rpc.Code_CODE_PERMISSION_DENIED {
writeError(w, r, appErrorPermissionDenied, "touching the file failed", nil)
writeError(w, r, appErrorPermissionDenied, "permission denied to create the file", nil)
return
}
writeError(w, r, appErrorServerError, "touching the file failed", nil)
Expand Down

0 comments on commit 336e871

Please sign in to comment.