mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-26 11:55:50 -05:00
[GH-ISSUE #4144] Remove post macro from api::core::emergency_access::post_emergency_access or add to routes! #34749
Reference in New Issue
Block a user
Originally created by @zacknewman on GitHub (Dec 7, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4144
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.