# tournamentRecordWrite example documentation incorrect?

**URL:** <https://forum.heroiclabs.com/t/tournamentrecordwrite-example-documentation-incorrect/5001>\
**Category:** Runtime Framework\
**Tags:** typescript, docs, server-framework\
**Created:** [February 26, 2024, 6:50pm UTC](https://forum.heroiclabs.com/t/tournamentrecordwrite-example-documentation-incorrect/5001 "2024-02-26T18:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanprice](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/ryanprice/32/1323_2.png) [@ryanprice](https://forum.heroiclabs.com/u/ryanprice)\
**Post date:** [February 26, 2024, 6:50pm UTC](https://forum.heroiclabs.com/t/tournamentrecordwrite-example-documentation-incorrect/5001/1 "2024-02-26T18:50:37Z")

</div>

> **[Function Reference](https://heroiclabs.com/docs/nakama/server-framework/typescript-runtime/function-reference/#tournamentRecordWrite)**
>
> This page lists all functions available within Nakama's JavaScript runtime, with their respective parameters and corresponding code samples.

Hey all, just using this function and reading the Typescript server runtime docs and noticed that the args don’t match ?  
Am I reading this wrong ?  
Also

```auto
let metadata = {
  weather_conditions = 'rain',
};

```

needs to be

```auto
let metadata = {
  'weather_conditions' : 'rain',
};

```

Thanks !

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [February 27, 2024, 1:37pm UTC](https://forum.heroiclabs.com/t/tournamentrecordwrite-example-documentation-incorrect/5001/2 "2024-02-27T13:37:52Z")

</div>

@gabriel can you have a look please?
