Skip to content
Snippets Groups Projects
Unverified Commit 4c0b48af authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Use id instead of username

Because username is mutable. id is immutable!
parent 228d3141
No related branches found
No related tags found
No related merge requests found
......@@ -306,7 +306,7 @@ export const packForAp = (
if (!_user) return reject('invalid user arg.');
const userUrl = `${config.url}/@${_user.username}`;
const userUrl = `${config.url}/@@${_user._id}`;
resolve({
"@context": ["https://www.w3.org/ns/activitystreams", {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment