projects
/
angular-mojolicious.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CouchDB chokes on fields with underscore
[angular-mojolicious.git]
/
angular-server.pl
diff --git
a/angular-server.pl
b/angular-server.pl
index
71e5f69
..
44be86e
100755
(executable)
--- a/
angular-server.pl
+++ b/
angular-server.pl
@@
-136,7
+136,7
@@
any [ 'post' ] => '/data/:database/:entity' => sub {
$json->{'_'.$_} = $new->{$_} foreach ( 'rev','id' );
} else {
warn "ERROR: ",dump($new);
- $json->{
_
error} = $new;
+ $json->{error} = $new;
}
_render_jsonp( $self, $json );