Skip to content

Commit

Permalink
Merge pull request #39 from ItzNotABug/fix-schedule-trigger-name
Browse files Browse the repository at this point in the history
Fix Schedule Trigger Name
  • Loading branch information
ItzNotABug authored Jun 19, 2024
2 parents a19e388 + 920e96f commit 5107adf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itznotabug/appexpress",
"version": "0.2.6",
"version": "0.2.7",
"description": "An `express.js` like framework for Appwrite Functions, enabling super-easy navigation!",
"author": "@itznotabug",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions source/types/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ class AppExpressRequest {
/**
* Get the function trigger type.
*
* Can be `event`, `http` or `scheduled`.
* Can be `event`, `http` or `schedule`.
*
* @returns {'event'|'http'|'scheduled'} The trigger type.
* @returns {'event'|'http'|'schedule'} The trigger type.
*/
get triggeredType() {
return this.headers['x-appwrite-trigger'];
Expand Down

0 comments on commit 5107adf

Please sign in to comment.