mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 09:03:15 -05:00
Remove post macro from api::core::emergency_access::post_emergency_access or add to routes! #1794
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zacknewman on GitHub (Dec 7, 2023).
Discussed in https://github.com/dani-garcia/vaultwarden/discussions/4076
Originally posted by zacknewman November 16, 2023
api::core::emergency_access::post_emergency_accessis only ever used once input_emergency_access, and theRouteis not added byroutes!inroutes. Three fixes are:Routeviaroutes!inroutes.postmacro.put_emergency_access.@zacknewman commented on GitHub (Dec 7, 2023):
Based on the most recent PR from @BlackDex, I think this got overlooked due to it being a Discussion and not Issue.