lemmy/crates/api/src/post
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
..
feature.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
get_link_metadata.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
like.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
lock.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
mark_read.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
mod.rs Rewrite some federation actions to remove Perform/SendActivity (ref #3670) (#3758) 2023-08-01 15:53:36 +02:00
save.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00