Skip to content

Commit

Permalink
readOnly tables API can only return table names
Browse files Browse the repository at this point in the history
returning the keys channels would let the caller change the keys!
  • Loading branch information
dckc committed Jul 18, 2020
1 parent 3c11280 commit 4131818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rchat/iddb.rho
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ in {

contract readOnly(@"tables", return) = {
for (@tables <<- tablesCh) {
return!(tables)
return!(tables.keys())
}
} |

Expand Down

0 comments on commit 4131818

Please sign in to comment.