Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit e441662

Browse files
authored
Merge pull request #11 from appwrite/refactor-1045-event-payload-to-data
Environment variable refactored in appwrite/appwrite#1045
2 parents 699be69 + ad405a8 commit e441662

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/views/docs/functions.phtml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void main() { // Init SDK
275275
</tr>
276276
<tr>
277277
<td>
278-
APPWRITE_FUNCTION_EVENT_PAYLOAD
278+
APPWRITE_FUNCTION_EVENT_DATA
279279
</td>
280280
<td>Your function event payload. This value is available only when your function trigger is 'event'. This variable value contains a string in JSON format with your specific event data.</td>
281281
</tr>
@@ -307,6 +307,13 @@ void main() { // Init SDK
307307
</td>
308308
<td>A <a href="https://jwt.io/">JSON Web Token</a> generated for the user that executes your function.</td>
309309
</tr>
310+
<tr>
311+
<td>
312+
APPWRITE_FUNCTION_EVENT_PAYLOAD
313+
<p class="margin-top-small text-fade">version &lt; 0.8.0 <span class="text-danger">(deprecated)</span></p>
314+
</td>
315+
<td>Your function event payload. Deprecated in favor of APPWRITE_FUNCTION_EVENT_DATA in version 0.8.0.</td>
316+
</tr>
310317
</tbody>
311318
</table>
312319

0 commit comments

Comments
 (0)