Skip to content

Commit

Permalink
fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bastipnt committed Dec 15, 2024
1 parent 56ef5cd commit 2a65550
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
16 changes: 8 additions & 8 deletions packages/backend/src/Survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ export const surveyRoutes = (client: edgedb.Client) =>
return { status: 200, message: "success" };
},
{ body: "surveyPart2Params" },
)
.get("/all", async ({ surveyController }) => {
const surveys = await surveyController.getAll();
);
// .get("/all", async ({ surveyController }) => {
// const surveys = await surveyController.getAll();

return {
success: true,
data: surveys,
};
});
// return {
// success: true,
// data: surveys,
// };
// });
10 changes: 5 additions & 5 deletions packages/backend/src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ export const userRoutes = (client: edgedb.Client) =>
cookie: "optionalSession",
},
)
.use(getUser)
.get("/profile", ({ userId }) => ({
success: true,
userId,
}));
.use(getUser);
// .get("/profile", ({ userId }) => ({
// success: true,
// userId,
// }));
4 changes: 1 addition & 3 deletions packages/frontend/src/Pages/Questions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@
<div class="card p-4">
<label for="knowledgeTargetedAds3" class="label space-y-4">
<span
>Did you already hear the terms <i class="text-teal-400"
>personalised</i
>
>Have you heard of the terms <i class="text-teal-400">personalised</i>
or <i class="text-teal-400">targeted advertisement</i>?</span
>
{#if validationErrors.knowledgeTargetedAds3?.required}
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/Pages/Thanks.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<div class="card space-y-4 p-4">
<p>
If you are interested in reading more about <i class="text-teal-400"
>browser fingerprints</i
> and tracking here are yome links for you:
>device fingerprints</i
> and tracking, here are some links for you:
</p>
<ul class="ml-4 list-disc underline">
<li>
Expand Down

0 comments on commit 2a65550

Please sign in to comment.