Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

user uri for logged in users gets added to the meta tag

  • Loading branch information...
commit 7fc4a5ba5c711604b3732164e3680085db01ef0a 1 parent ff4538f
@lornajane lornajane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/api-v2/public/index.php
View
2  src/api-v2/public/index.php
@@ -90,7 +90,7 @@ function handle_exception($e) {
break;
}
if(isset($request->user_id)) {
- $return_data['meta']['your_user_id'] = $request->user_id;
+ $return_data['meta']['user_uri'] = $request->base . '/' . $request->version . '/users/' . $request->user_id;
}
// Handle output
Please sign in to comment.
Something went wrong with that request. Please try again.