homebrewery icon indicating copy to clipboard operation
homebrewery copied to clipboard

Add User auth token to getBrew

Open G-Ambatte opened this issue 1 year ago • 3 comments

This PR resolves #2954.

This PR adds the ability to pass an authentication token to the getBrew function, defaulting to the defaultAuth (Service Account) when no auth token is provided. This functionality is then used by deleteBrew, so any brew that can be seen by the user (and thus appear on their User Page) can be deleted.

G-Ambatte avatar Jul 27 '23 00:07 G-Ambatte

It looks like these changes have caused quite a lot of tests to break. I'll try to look into it in the next few days.

G-Ambatte avatar Jul 27 '23 06:07 G-Ambatte

@G-Ambatte I think this one is really close but for the two open comments I have up there, and the breaking tests. Do you have any insight on those?

calculuschild avatar Sep 06 '23 19:09 calculuschild