Skip to content

Commit 0c46295

Browse files
committed
feat: add message for not_enough_balance
1 parent 7a28a1d commit 0c46295

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/requests.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ const errorTranslations = {
3535
no_bike_found: "Bicicleta não encontrada.",
3636
bike_on_repair: "Bicicleta a ser reparada.",
3737
bike_in_repair: "Bicicleta a ser reparada.",
38+
not_enough_balance:
39+
'Saldo negativo. Se isto se deve a uma viagem mal terminada, por favor contacte <a href="mailto:gira@emel.pt">gira@emel.pt</a>',
3840
};
3941

4042
async function makePostRequest(url, body, accessToken = null) {

0 commit comments

Comments
 (0)