]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/traces/_trace.builder
Convert tests using OAuth 1 tokens to use OAuth 2 tokens
[rails.git] / app / views / api / traces / _trace.builder
index 7efd640f5b132c483f6c76b855b8faf45616fc44..b56c902cd8ff8970a299d261cd96e86edded155f 100644 (file)
@@ -3,6 +3,7 @@
 attrs = {
   "id" => trace.id,
   "name" => trace.name,
 attrs = {
   "id" => trace.id,
   "name" => trace.name,
+  "uid" => trace.user_id,
   "user" => trace.user.display_name,
   "visibility" => trace.visibility,
   "pending" => trace.inserted ? "false" : "true",
   "user" => trace.user.display_name,
   "visibility" => trace.visibility,
   "pending" => trace.inserted ? "false" : "true",