Explorar o código

fixed english tag names

sirekanian %!s(int64=3) %!d(string=hai) anos
pai
achega
efbd5df9ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -14,7 +14,7 @@ wget --header="Accept-Encoding: gzip" -qO- "$ENDPOINT/data.json" | gunzip |
 
 # transform tags.json to csv
 wget -qO- "$ENDPOINT/tags.json" |
-  jq -r 'map([.["id"],.["shortName"],.["ruShortName"]])[] | @csv' \
+  jq -r 'map([.["id"],.["enShortName"],.["ruShortName"]])[] | @csv' \
     >"app/schemas/TagEntity.csv"
 
 # transform index.json to csv