projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
13111: Merge branch 'master' into 13111-webdav-projects
[arvados.git]
/
services
/
api
/
app
/
models
/
commit.rb
diff --git
a/services/api/app/models/commit.rb
b/services/api/app/models/commit.rb
index 19254ce8846a326d747d49928d4b7a21baaa9011..921c690cd00f78f6fc2b46bbace23fff89992db8 100644
(file)
--- a/
services/api/app/models/commit.rb
+++ b/
services/api/app/models/commit.rb
@@
-2,10
+2,12
@@
#
# SPDX-License-Identifier: AGPL-3.0
+require 'request_error'
+
class Commit < ActiveRecord::Base
extend CurrentApiClient
- class GitError <
Standard
Error
+ class GitError <
Request
Error
def http_status
422
end