mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
allow opening shared recipes and redirect old urls
This commit is contained in:
@@ -1225,6 +1225,7 @@ export interface ApiRecipeRelatedListRequest {
|
||||
|
||||
export interface ApiRecipeRetrieveRequest {
|
||||
id: number;
|
||||
share?: string;
|
||||
}
|
||||
|
||||
export interface ApiRecipeShoppingUpdateRequest {
|
||||
@@ -8989,6 +8990,10 @@ export class ApiApi extends runtime.BaseAPI {
|
||||
|
||||
const queryParameters: any = {};
|
||||
|
||||
if (requestParameters['share'] != null) {
|
||||
queryParameters['share'] = requestParameters['share'];
|
||||
}
|
||||
|
||||
const headerParameters: runtime.HTTPHeaders = {};
|
||||
|
||||
if (this.configuration && this.configuration.apiKey) {
|
||||
|
||||
Reference in New Issue
Block a user