Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api fix3 #190

Open
wants to merge 4 commits into
base: prod
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ Bu proje deprem.io sitesinin backend implementasyonunu icerir.

* Docker
* .env dosyasını oluşturunuz içerisine .env-example da yazılanları koyunuz.
* `MONGOURL` env. variable değerini proje leadlerinden isteyiniz


* **English**:
* Create .env file and copy content from .env-example
* Get `MONGOURL` variable value from the project leads

## Local Installment

Expand Down Expand Up @@ -227,4 +224,4 @@ Avoid running lifecycle scripts from packages
- added `--ignore-scripts` to Dockerfile.
- installed and configured allow-scripts for development - to only run allowed ones.

run `npx allow-scripts auto` to update the list after new packages with install scripts have been added.
run `npx allow-scripts auto` to update the list after new packages with install scripts have been added.
16 changes: 8 additions & 8 deletions routes/controllers/yardim.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ module.exports = async function (fastifyInstance) {
let afetHaritaObj = {
feeds: [
{
RawText:
raw_text:
yardimObject2.yardimTipi +
" " +
yardimObject2.adres +
Expand All @@ -243,9 +243,9 @@ module.exports = async function (fastifyInstance) {
yardimObject2.fizikiDurum +
" " +
yardimObject2.googleMapLink,
Channel: "depremio",
ExtraParameters: JSON.stringify(yardimObject2),
Epoch: Date.now(),
channel: "depremio",
extra_parameters: JSON.stringify(yardimObject2),
epoch: Date.now(),
},
],
};
Expand Down Expand Up @@ -392,7 +392,7 @@ module.exports = async function (fastifyInstance) {
let afetHaritaObj = {
feeds: [
{
RawText:
raw_text:
yardimObject2.yardimTipi +
" " +
yardimObject2.adres +
Expand All @@ -405,9 +405,9 @@ module.exports = async function (fastifyInstance) {
yardimObject2.fizikiDurum +
" " +
yardimObject2.googleMapLink,
Channel: "depremio",
ExtraParameters: JSON.stringify(yardimObject2),
Epoch: Date.now(),
channel: "depremio",
extra_parameters: JSON.stringify(yardimObject2),
epoch: Date.now(),
},
],
};
Expand Down