Hi guys!
Im working in a project with the version v3.11.0 and now Im needing to upgrade to 3.12.0 as the handleBeforeDeleteNotifications has a typo error in the TS Server Framework. (is missing a ‘s’. so is handleBeforeDeleteNotification)
After upgrading Ive started encountering a error when tring to fetch information via the REST API (rpc)
on a succesfully authenticated client which the ctx.userId is undefined.
Am I missing something or is this the intended behaviour?
- Downgrading to the 3.11.0 makes the ctx.userId be filled again (works).
- Upgrading to the 3.16.0 has the “same error”
- The nakama-common is verified and matchs the version: v1.23.0 for the 3.12.0
Code on the front end to make a rpc request:
data = await axios.post(
`${nakamaServer}/v2/rpc/${rpc}?http_key=${nakamaHttpKey}&unwrap`,
body,
{
headers: {
Authorization: `Bearer ${token}`
}
}
);