lemmy/crates/api_crud/src
Nutomic f858d8cbce
Remove explicit auth params (#3946)
* Remove explicit auth params (ref #3725)

Only take auth via header or cookie. This requires a new version
of lemmy-js-client for api tests to pass.

* rework api_crud

* remove remaining auth params, move logic to session middleware

* fmt, fix test

* update js client

* remove auth param from api tests

* Pass auth as header

* add !

* url vars, setHeader

* cleanup

* fmt

* update

* Updating for new lemmy-js-client.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-09-21 06:42:28 -04:00
..
comment Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
community Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
custom_emoji Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
post Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
site Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
user Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
lib.rs Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 2023-08-02 12:52:41 -04:00