You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When updating your email in crates.io, the request goes to the user route with PUT.
55
50
// Ember sends all the user attributes. We check to make sure the ID in the URL matches
56
51
// the ID of the currently logged in user, then we ignore everything but the email address.
57
-
let body = format!("{{\"user\":{{\"email\":{},\"name\":\"Arbitrary Name\",\"login\":\"arbitrary_login\",\"avatar\":\"https://arbitrary.com/img.jpg\",\"url\":\"https://arbitrary.com\",\"kind\":null}}}}", email_json);
// When updating your email in crates.io, the request goes to the user route with PUT.
79
75
// Ember sends all the user attributes. We check to make sure the ID in the URL matches
80
76
// the ID of the currently logged in user, then we ignore everything but the email address.
81
-
let body = format!("{{\"user\":{{\"email\":{},\"name\":\"Arbitrary Name\",\"login\":\"arbitrary_login\",\"avatar\":\"https://arbitrary.com/img.jpg\",\"url\":\"https://arbitrary.com\",\"kind\":null}}}}", email_json);
0 commit comments