File tree 5 files changed +8
-2
lines changed
organization-[organization]/usage/[[invoice]]
functions/function-[function]/settings
settings/usage/[[invoice]]
5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 42
42
"PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}"
43
43
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY }}"
44
44
"SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}"
45
+ "SENTRY_RELEASE=${{ github.event.release.tag_name }}"
45
46
publish-cloud-stage :
46
47
runs-on : ubuntu-latest
47
48
steps :
Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ ARG PUBLIC_APPWRITE_ENDPOINT
24
24
ARG PUBLIC_GROWTH_ENDPOINT
25
25
ARG PUBLIC_STRIPE_KEY
26
26
ARG SENTRY_AUTH_TOKEN
27
+ ARG SENTRY_RELEASE
27
28
28
29
ENV PUBLIC_APPWRITE_ENDPOINT=$PUBLIC_APPWRITE_ENDPOINT
29
30
ENV PUBLIC_GROWTH_ENDPOINT=$PUBLIC_GROWTH_ENDPOINT
30
31
ENV PUBLIC_CONSOLE_MODE=$PUBLIC_CONSOLE_MODE
31
32
ENV PUBLIC_STRIPE_KEY=$PUBLIC_STRIPE_KEY
32
33
ENV SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN
34
+ ENV SENTRY_RELEASE=$SENTRY_RELEASE
33
35
ENV NODE_OPTIONS=--max_old_space_size=8192
34
36
35
37
RUN pnpm run sync && pnpm run build
Original file line number Diff line number Diff line change 457
457
class =" link" >pricing page</a
458
458
>.
459
459
</p >
460
- <p >You will not be charged for Phone OTPs before February 10th.</p >
461
460
<svelte:fragment slot =" aside" >
462
461
{#if data .organizationUsage .authPhoneTotal }
463
462
<div class =" u-flex u-main-space-between" >
Original file line number Diff line number Diff line change 11
11
import { func } from ' ../store' ;
12
12
import { isValueOfStringEnum } from ' $lib/helpers/types' ;
13
13
import { Runtime } from ' @appwrite.io/console' ;
14
+ import { parseExpression } from ' cron-parser' ;
14
15
15
16
const functionId = $page .params .function ;
16
17
let functionSchedule: string = null ;
24
25
if (! isValueOfStringEnum (Runtime , $func .runtime )) {
25
26
throw new Error (` Invalid runtime: ${$func .runtime } ` );
26
27
}
28
+
29
+ // an error is shown if invalid.
30
+ parseExpression (functionSchedule );
31
+
27
32
await sdk .forProject .functions .update (
28
33
functionId ,
29
34
$func .name ,
Original file line number Diff line number Diff line change 441
441
Calculated for all Phone OTP sent across your project. Resets at the start of each
442
442
billing cycle.
443
443
</p >
444
- <p >You will not be charged for Phone OTPs before February 10th.</p >
445
444
<svelte:fragment slot =" aside" >
446
445
{#if data .usage .authPhoneTotal }
447
446
<div class =" u-flex u-main-space-between" >
You can’t perform that action at this time.
0 commit comments