Skip to content

Commit 35bf2f3

Browse files
committed
force false for recommendations
1 parent 9c9b564 commit 35bf2f3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

frontend/src/views/app/Browse.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ export default {
4949
if (this.recommendationsFromSettingUp) {
5050
this.recommendations = this.recommendationsFromSettingUp;
5151
} else {
52-
const recommendationsRequest = await this.$http.get('/recommendations');
52+
const recommendationsRequest = await this.$http.get('/recommendations', {
53+
data: {
54+
force: false,
55+
},
56+
});
5357
this.recommendations = recommendationsRequest.data.recommendations;
5458
}
5559
this.recommendations.sort((a, b) => a.distance - b.distance);

frontend/src/views/app/Onboarding.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ export default {
136136
this.slideCurrent += 1;
137137
await this.bus.$emit('send-user-location-to-backend');
138138
await this.$http.post('/profile/complete', this.userData);
139-
const recommendationsRequest = await this.$http.get('/recommendations');
139+
const recommendationsRequest = await this.$http.get('/recommendations', {
140+
data: {
141+
force: false,
142+
},
143+
});
140144
const recommendationsFromSettingUp = recommendationsRequest.data.recommendations;
141145
await this.$store.dispatch('profileCompleted');
142146
await this.$router.push({ name: Browse, params: { recommendationsFromSettingUp } });

0 commit comments

Comments
 (0)