Add promo
This commit is contained in:
@@ -95,11 +95,13 @@ export default defineEventHandler(async (event) => {
|
|||||||
description: string;
|
description: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const promo = "https://ghostwriter.rocks 👻";
|
||||||
|
|
||||||
const [stravaError] = await strava!(`activities/${body.object_id}`, {
|
const [stravaError] = await strava!(`activities/${body.object_id}`, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
body: {
|
body: {
|
||||||
name: responseObject.title,
|
name: responseObject.title,
|
||||||
description: responseObject.description,
|
description: [responseObject.description, promo].join("\n"),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user