Move /account/auth/saved to /account/saved (#5534)

This commit is contained in:
matc-pub 2025-03-24 19:59:46 +01:00 committed by GitHub
parent ea8d5dc7e7
commit f075b2da3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,8 +325,7 @@ pub fn config(cfg: &mut ServiceConfig, rate_limit: &RateLimitCell) {
.route(
"/resend_verification_email",
post().to(resend_verification_email),
)
.route("/saved", get().to(list_person_saved)),
),
)
.service(
scope("/account")
@ -358,6 +357,7 @@ pub fn config(cfg: &mut ServiceConfig, rate_limit: &RateLimitCell) {
.route("/community", post().to(user_block_community))
.route("/instance", post().to(user_block_instance)),
)
.route("/saved", get().to(list_person_saved))
.route("/settings/save", put().to(save_user_settings))
// Account settings import / export have a strict rate limit
.service(