Permalink
Browse files

Added missing fields copy for RestInterfaceSettings

- Added copy for .errorHandler
- Added copy for .httpClientSettings
  • Loading branch information...
vitalka200 committed Aug 9, 2018
1 parent 94f7a5e commit 030bcdd2930b37a1b3f102d3542993dce98589ac
Showing with 4 additions and 0 deletions.
  1. +4 −0 web/vibe/web/rest.d
View
@@ -819,6 +819,10 @@ class RestInterfaceSettings {
ret.methodStyle = this.methodStyle;
ret.stripTrailingUnderscore = this.stripTrailingUnderscore;
ret.allowedOrigins = this.allowedOrigins.dup;
ret.errorHandler = this.errorHandler;
if (this.httpClientSettings) {
ret.httpClientSettings = this.httpClientSettings.dup;
}
return ret;
}
}

0 comments on commit 030bcdd

Please sign in to comment.